wangyang0918 commented on a change in pull request #11903:
URL: https://github.com/apache/flink/pull/11903#discussion_r415681548
##########
File path:
flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherBootstrap.java
##########
@@ -130,12 +132,17 @@ public void stop() {
return applicationCompletionFuture
.handle((r, t) -> {
+ final ApplicationStatus
applicationStatus;
if (t != null) {
- LOG.warn("Application FAILED:
", t);
+ applicationStatus = t
instanceof CancellationException
Review comment:
I have tested on a YARN cluster, it could not take effect here. When i
cancel the Flink job, the application status is still `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.
For queries about this service, please contact Infrastructure at:
[email protected]