Giter Site home page Giter Site logo

dolphinscheduler-rpm's Introduction

Build script to create RPMS for dolphinscheduler.

License

CN doc EN doc

Features

Dolphinscheduler-rpm can build dolphinscheduler rpms

  • Easy to deploy dolphinscheduler on cluster.
  • Easy to manage dolphinscheduler by configuration management tools, such as ambari, puppet and ansible and monitor dolphinscheduler services.

How to Build

You should install rpm-build, make on your dev machine

# rockylinux-8
yum install -y make, rpm-build
# ubuntu-22.04
sudo apt install -y make, rpm

and then

make

How to Use

Download the dolphinscheduler rpm files into local dictionary, and make local yum repo.

Before you deploy dolphinscheduler, you should deploy zookeeper and mysql first

If you want to install dolphinscheduler-master-server on a node, you should

# install jdk8
yum install java-1.8.0-openjdk-devel -y
# install dolphinscheduler-master-server
yum install -y dolphinscheduler-master-server dolphinscheduler-tools mysql-connector-j
ln -s /usr/share/java/mysql-connector-j.jar /usr/lib/dolphinscheduler/api-server/libs/
ln -s /usr/share/java/mysql-connector-j.jar /usr/lib/dolphinscheduler/master-server/libs/

Edit dolphinscheduler_env.sh here is example:

#######################################
. /usr/lib/bigtop-utils/bigtop-detect-javahome
DATABASE=mysql
REGISTRY_ZOOKEEPER_CONNECT_STRING="localhost:2181"

# JAVA_HOME, will use it to start DolphinScheduler server
export JAVA_HOME=${JAVA_HOME:-/opt/java/openjdk}

# Database related configuration, set database type, username and password
export DATABASE=${DATABASE:-postgresql}
export SPRING_PROFILES_ACTIVE=${DATABASE}
export SPRING_DATASOURCE_URL="jdbc:mysql://localhost:3306/dev"
export SPRING_DATASOURCE_USERNAME="dev"
export SPRING_DATASOURCE_PASSWORD="devpass"
#######################################

start services

# init databases
cd /usr/lib/dolphinscheduler/tools/bin && bash -x upgrade-schema.sh
# service start
service dolphinscheduler-api-server start
service dolphinscheduler-master-server start

Get Help

Welcomes everyone to contribute, and if you come accross any problems, please submit an issue.

Thanks

DolphinScheduler is an excellent open-source project that is easy to use, with simple and convenient operation.

License

Please refer to the LICENSE file

dolphinscheduler-rpm's People

Contributors

vivostar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.