commit | 4f049b4ba14b45a569172bbb2de2dc401608651f | [log] [tgz] |
---|---|---|
author | monster <60029759+MonsterChenzhuo@users.noreply.github.com> | Fri Dec 30 17:52:35 2022 +0800 |
committer | GitHub <noreply@github.com> | Fri Dec 30 17:52:35 2022 +0800 |
tree | 02c666d3a39f9e8d6c96486bf8867d3ec33271a7 | |
parent | 558317bfd9cb007f7bda0ab77ec5c9cd0435297e [diff] |
[Feature] Support Ambari deployment of dolphinscheduler 2.0.6 (#3)
⚠️⚠️ NOTE ⚠️⚠️: Apache Ambari plugin only support installation DolphinScheduler for version 1.3.0 - 1.3.9. The reason we split to this repo as below:
You could find more detail in mail thread: https://lists.apache.org/thread/5l2zy28q1l5tl87q84h8qsw59z5vg2ly
# Only support version 1.3.0 - 1.3.9, we here use 1.3.3 as example DOLPHINSCHEDULER_VERSION=1.3.3 git clone --depth 1 --branch ${DOLPHINSCHEDULER_VERSION} git@github.com:apache/dolphinscheduler.git dolphinscheduler_${DOLPHINSCHEDULER_VERSION}_ambari cd dolphinscheduler_${DOLPHINSCHEDULER_VERSION}_ambari # It is generated by executing the command, the project root directory (In the directory: dolphinscheduler-dist/target/rpm/apache-dolphinscheduler/RPMS/noarch ) mvn -U clean install -Prpmbuild -Dmaven.test.skip=true -X
Create an installation for DS,who have read and write access to the installation directory (/opt/soft)
Manual installation (recommended):
rpm -ivh apache-dolphinscheduler-xxx.noarch.rpm
Automatic installation with ambari
-- Create the database for the Dolphin Scheduler:dolphinscheduler CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; -- Initialize the user and password for the dolphinscheduler database and assign permissions -- Replace the {user} in the SQL statement below with the user of the dolphinscheduler database GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'%' IDENTIFIED BY '{password}'; GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'localhost' IDENTIFIED BY '{password}'; flush privileges;
Add components to the node through Ambari -- for example, add a DS Worker
NOTE: DS Logger is the installation dependent component of DS Worker in Dolphin's Ambari installation (need to add installation first; Prevent the Job log on the corresponding Worker from being checked)
Remove the component from the node with Ambari