yutaoChina commented on a change in pull request #5561:
URL: https://github.com/apache/dolphinscheduler/pull/5561#discussion_r703234941
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java
##########
@@ -428,9 +431,27 @@ public boolean isSuccessOfYarnState(List<String> appIds) {
result = false;
}
return result;
-
}
-
+
+ /**
+ *
+ * @param appId
+ * @return appId ExecutionStatus
+ * @throws Exception
+ */
+ private ExecutionStatus retryExecutionStatus(String appId,ExecutionStatus
applicationStatus) throws Exception {
+ for (int i = 0; i < 10; i++) {
+ applicationStatus =
HadoopUtils.getInstance().getApplicationStatus(appId);
+ if (applicationStatus.equals(ExecutionStatus.FAILURE)
+ || applicationStatus.equals(ExecutionStatus.KILL)) {
Review comment:

just like this!
then retry 10 time Still failureļ¼so it failed
--
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]