Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
DolphinScheduler
提交
d73ad2e7
DolphinScheduler
项目概览
apache
/
DolphinScheduler
上一次同步 接近 2 年
通知
707
Star
9572
Fork
3514
代码
文件
提交
分支
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,发现更多精彩内容 >>
未验证
提交
d73ad2e7
编写于
7月 29, 2022
作者:
F
fuchanghai
提交者:
GitHub
7月 29, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BUG-11181] [Document] text check (#11183)
上级
d85ea8f6
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
6 addition
and
8 deletion
+6
-8
docs/docs/zh/development/architecture-design.md
docs/docs/zh/development/architecture-design.md
+1
-2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java
...olphinscheduler/api/service/impl/ExecutorServiceImpl.java
+5
-6
未找到文件。
docs/docs/zh/development/architecture-design.md
浏览文件 @
d73ad2e7
...
...
@@ -206,7 +206,7 @@ Master Scheduler线程一旦发现任务实例为” 需要容错”状态,则
-
一种是业务节点,这种节点都对应一个实际的脚本或者处理语句,比如Shell节点,MR节点、Spark节点、依赖节点等。
-
还有一种是逻辑节点,这种节点不做实际的脚本或语句处理,只是整个流程流转的逻辑处理,比如子流程节等。
-
还有一种是逻辑节点,这种节点不做实际的脚本或语句处理,只是整个流程流转的逻辑处理,比如子流程节
点
等。
每一个
**业务节点**
都可以配置失败重试的次数,当该任务节点失败,会自动重试,直到成功或者超过配置的重试次数。
**逻辑节点**
不支持失败重试。但是逻辑节点里的任务支持重试。
...
...
@@ -299,4 +299,3 @@ public class TaskLogFilter extends Filter<ILoggingEvent> {
### 总结
本文从调度出发,初步介绍了大数据分布式工作流调度系统--DolphinScheduler的架构原理及实现思路。未完待续
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java
浏览文件 @
d73ad2e7
...
...
@@ -294,7 +294,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
}
/**
* check
if the current process has subprocesses and all subprocesses are valid
* check
whether the current process has subprocesses and validate all subprocesses
*
* @param processDefinition
* @return check result
...
...
@@ -562,7 +562,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
}
/**
* insert command, used in the implementation of the page, re
run, recovery (pause / failure) execution
* insert command, used in the implementation of the page, rerun, recovery (pause / failure) execution
*
* @param loginUser login user
* @param instanceId instance id
...
...
@@ -607,7 +607,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
}
/**
* check
if
sub processes are offline before starting process definition
* check
whether
sub processes are offline before starting process definition
*
* @param processDefinitionCode process definition code
* @return check result code
...
...
@@ -724,8 +724,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
return
createComplementCommandList
(
schedule
,
runMode
,
command
,
expectedParallelismNumber
,
complementDependentMode
);
}
catch
(
CronParseException
cronParseException
)
{
// this just make compile happy, since we already validate the cron before
logger
.
error
(
"Parse cron error"
,
cronParseException
);
// We catch the exception here just to make compiler happy, since we have already validated the schedule cron expression before
return
0
;
}
}
else
{
...
...
@@ -940,7 +939,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
/**
* @param schedule
* @return check error return 0
otherwish
1
* @return check error return 0
, otherwise
1
*/
private
boolean
isValidateScheduleTime
(
String
schedule
)
{
Map
<
String
,
String
>
scheduleResult
=
JSONUtils
.
toMap
(
schedule
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录