DolphinScheduler/ambari_plugin
zhangchunyang ad90df2057
1. add file add README.md2. delete ambari_plugin/common-services/DOLPHIN/2.0.0 (#2546)
* Ambari plugin development for the dolphin scheduler in version 2.0.0 is complete

* Update the Ambari plugin of DS  usage documentation

* delete readme whic is not completed

* update version 2.0.0 backup to 1.3.0

* update ambari plugin version to 1.3.0

* add readme doc

* delete common-services/DOLPHIN/2.0.0

* update the version in doc

Co-authored-by: zhangchunyang <zhangchunyang@analysys.com.cn>
Co-authored-by: zhangchunyang <18910529250@163.com>
Co-authored-by: dailidong <dailidong66@gmail.com>
2020-04-30 19:36:08 +08:00
..
common-services/DOLPHIN 1. add file add README.md2. delete ambari_plugin/common-services/DOLPHIN/2.0.0 (#2546) 2020-04-30 19:36:08 +08:00
statcks/DOLPHIN update version 2.0.0 backup to 1.3.0 (#2531) 2020-04-26 18:50:38 +08:00
README.md 1. add file add README.md2. delete ambari_plugin/common-services/DOLPHIN/2.0.0 (#2546) 2020-04-30 19:36:08 +08:00

Dolphin Scheduler的Ambari插件使用说明

备注
  1. 本文档适用于对Ambari中基本了解的用户
  2. 本文档是对已安装Ambari服务添加Dolphin Scheduler(1.3.0版本)服务的说明
一 安装准备
  1. 准备RPM包

    • 在源码dolphinscheduler-dist目录下执行命令mvn -U clean install rpm:attached-rpm -Prpmbuild -Dmaven.test.skip=true -X即可生成(在目录 dolphinscheduler-dist/target/rpm/apache-dolphinscheduler-incubating/RPMS/noarch 下)
  2. 创建DS的安装用户--权限

  3. 初始化数据库信息

    -- 创建Dolphin Scheduler的数据库dolphinscheduler
    CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE
    utf8_general_ci;
    
    -- 初始化dolphinscheduler数据库的用户和密码并分配权限
    -- 替换下面sql语句中的{user}为dolphinscheduler数据库的用户
    GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'%' IDENTIFIED BY '{password}';
    GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'localhost' IDENTIFIED BY
    '{password}';
    flush privileges;
    
二 Ambari安装Dolphin Scheduler
  1. Ambari界面安装Dolphin Scheduler

  2. 选择Dolphin Scheduler的Master安装的节点

  3. 配置Dolphin Scheduler的Worker、Api、Logger、Alert安装的节点

  4. 设置Dolphin Scheduler服务的安装用户步骤一中创建的)及所属的用户组

  5. 配置数据库的信息(和步骤一中初始化数据库中一致)

  6. 配置其它的信息--如果需要的话

  7. 正常执行接下来的步骤

  8. 安装成功后的界面