ruanwenjun commented on code in PR #13948:
URL:
https://github.com/apache/dolphinscheduler/pull/13948#discussion_r1174605609
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java:
##########
@@ -2078,21 +2063,27 @@ private boolean isNewProcessInstance() {
}
public void resubmit(long taskCode) throws Exception {
- ITaskProcessor taskProcessor = activeTaskProcessorMaps.get(taskCode);
- if (taskProcessor != null) {
- taskProcessor.action(TaskAction.RESUBMIT);
- log.debug("RESUBMIT: task code:{}", taskCode);
- } else {
- throw new Exception("resubmit error, taskProcessor is null, task
code: " + taskCode);
- }
+ // todo: resubmit
+ // taskExecuteRunnableMap.get(taskCode).resubmit();
+ // ITaskProcessor taskProcessor =
activeTaskProcessorMaps.get(taskCode);
+ // if (taskProcessor != null) {
+ // taskProcessor.action(TaskAction.RESUBMIT);
+ // log.debug("RESUBMIT: task code:{}", taskCode);
+ // } else {
+ // throw new Exception("resubmit error, taskProcessor is null, task
code: " + taskCode);
+ // }
}
public Map<Long, Integer> getCompleteTaskMap() {
return completeTaskMap;
}
- public Map<Long, ITaskProcessor> getActiveTaskProcessMap() {
- return activeTaskProcessorMaps;
+ // public Map<Long, ITaskProcessor> getActiveTaskProcessMap() {
Review Comment:
I have removed `ITaskProcessor`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]