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


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/executor/NettyExecutorManager.java:
##########
@@ -101,11 +102,9 @@ public Boolean execute(ExecutionContext context) throws 
ExecuteException {
         Command command = context.getCommand();
         // execute task host
         Host host = context.getHost();
-        boolean success = false;
-        while (!success) {
+        while (true) {

Review Comment:
   It will loop all nodes, if all nodes failed, it will throw exception.



-- 
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]

Reply via email to