Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
liyuanzhong001
DolphinScheduler
提交
354439f6
DolphinScheduler
项目概览
liyuanzhong001
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
11
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
354439f6
编写于
5月 22, 2020
作者:
B
break60
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-1.3.0' of
https://github.com/apache/incubator-dolphinscheduler
into dev-1.3.0
上级
e83237f3
cada8770
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
8 deletion
+22
-8
ambari_plugin/README.md
ambari_plugin/README.md
+17
-3
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/ExecutorDispatcher.java
...nscheduler/server/master/dispatch/ExecutorDispatcher.java
+4
-1
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/processor/TaskAckProcessor.java
...inscheduler/server/master/processor/TaskAckProcessor.java
+1
-1
dolphinscheduler-server/src/main/resources/worker.properties
dolphinscheduler-server/src/main/resources/worker.properties
+0
-3
未找到文件。
ambari_plugin/README.md
浏览文件 @
354439f6
...
...
@@ -9,11 +9,25 @@
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 下)
-
在
项目根目录下执行命令
```mvn -U clean install
-Prpmbuild -Dmaven.test.skip=true -X```
即可生成(在目录 dolphinscheduler-dist/target/rpm/apache-dolphinscheduler-incubating/RPMS/noarch 下)
2.
创建DS的安装用户--权限
2.
创建DS的安装用户--
安装目录(/opt/soft)有读写
权限
3.
初始化数据库信息
3.
rpm安装
-
手动安装(推荐):
-
copy准备的rpm包到集群的各个节点
-
用DS的安装用户执行:
```rpm -ivh apache-dolphinscheduler-incubating-xxx.noarch.rpm```
-
ambar自动安装
-
集群的各个节点需要配置本地yum源
-
copy准备的rpm包到各个节点本地yum源
4.
copy插件目录
-
copy目录ambari_plugin/common-services/DOLPHIN到ambari-server/resources/common-services/下
-
copy目录ambari_plugin/statcks/DOLPHIN到 ambari-server/resources/stacks/HDP/2.6/services/下--stack版本2.6根据实际情况选择
5.
初始化数据库信息
```
-- 创建Dolphin Scheduler的数据库:dolphinscheduler
...
...
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/ExecutorDispatcher.java
浏览文件 @
354439f6
...
...
@@ -81,9 +81,12 @@ public class ExecutorDispatcher implements InitializingBean {
/**
* host select
*/
Host
host
=
hostManager
.
select
(
context
);
if
(
StringUtils
.
isEmpty
(
host
.
getAddress
()))
{
throw
new
ExecuteException
(
String
.
format
(
"fail to execute : %s due to no worker "
,
context
.
getCommand
()));
throw
new
ExecuteException
(
String
.
format
(
"fail to execute : %s due to no suitable worker , "
+
"current task need to %s worker group execute"
,
context
.
getCommand
(),
context
.
getWorkerGroup
()));
}
context
.
setHost
(
host
);
executorManager
.
beforeExecute
(
context
);
...
...
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/processor/TaskAckProcessor.java
浏览文件 @
354439f6
...
...
@@ -70,7 +70,7 @@ public class TaskAckProcessor implements NettyRequestProcessor {
}
/**
*
task ack process
* task ack process
* @param channel channel channel
* @param command command TaskExecuteAckCommand
*/
...
...
dolphinscheduler-server/src/main/resources/worker.properties
浏览文件 @
354439f6
...
...
@@ -21,9 +21,6 @@
# worker heartbeat interval
#worker.heartbeat.interval=10
# submit the number of tasks at a time TODO
#worker.fetch.task.num = 3
# only less than cpu avg load, worker server can work. default value -1: the number of cpu cores * 2
#worker.max.cpuload.avg= -1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录