I am using flink 1.10.0. My perJob can not be cancelled. From the log I find that webMonitorEndpoint.closeAsync() is completed but deregisterApplication is not called. The related code is as follows:
public CompletableFuture<Void> deregisterApplicationAndClose( For webMonitorEndpoint.closeAsync(), the code is as follows: public CompletableFuture<Void> closeAsync() { I am sure that it is completed with the log I added as follows: For deregisterApplication, I do not see any related log like "Shut down cluster because application is in {}, diagnostics {}.". Can anyone give me some suggestions? Thank you. |
Where exactly did you add your own log
message?
WebMonitorEndpoint.closeAsync() already
logs on it's own whether the shutdown future was completed;
meaning that it shouldn't have been necessary to add a separate
log message.
If you now only see the one you added,
chances are that it was added at the wrong place.
On 3/24/2021 5:06 AM, 刘建刚 wrote:
|
Thank you for the answer. @Override After closeAsync, it is expected to execute DispatcherResourceManagerComponent's deregisterApplication method as following: public CompletableFuture<Void> deregisterApplicationAndClose( However, Resource's deregisterApplication method is not executed. I do not know why. Any suggestions? Chesnay Schepler [via Apache Flink User Mailing List archive.] <[hidden email]> 于2021年3月26日周五 下午6:54写道:
|
Free forum by Nabble | Edit this page |