You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/09 03:08:38 UTC

[GitHub] [dolphinscheduler] ruanwenjun commented on a diff in pull request #10839: [Fix-10842] Fix master/worker failover will cause status incorrect

ruanwenjun commented on code in PR #10839:
URL: https://github.com/apache/dolphinscheduler/pull/10839#discussion_r917213008


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/executor/NettyExecutorManager.java:
##########
@@ -117,6 +117,7 @@ public Boolean execute(ExecutionContext context) throws ExecuteException {
                 doExecute(host, command);
                 success = true;
                 context.setHost(host);
+                context.getTaskInstance().setHost(host.getAddress());

Review Comment:
   Yes, I will remove the set host in ExecutorDispatcher.dispatch.



-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org