[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-22 Thread Till Rohrmann (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17270260#comment-17270260 ] Till Rohrmann commented on FLINK-21008: --- Wouldn't it work if {{ClusterEntrypoint.closeAsync()}}

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-22 Thread Yang Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17270224#comment-17270224 ] Yang Wang commented on FLINK-21008: --- After more consideration, I think it might be wrong to do the

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-20 Thread Yang Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17268502#comment-17268502 ] Yang Wang commented on FLINK-21008: --- Yes. I will try to get this done by letting {{SignalHandler}}

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-20 Thread Till Rohrmann (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17268453#comment-17268453 ] Till Rohrmann commented on FLINK-21008: --- Do you wanna try to take a stab at the problem

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Yang Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17268349#comment-17268349 ] Yang Wang commented on FLINK-21008: --- Triggering {{ClusterEntrypoint.closeAsync()}} for the SIGTERM is

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Till Rohrmann (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17268028#comment-17268028 ] Till Rohrmann commented on FLINK-21008: --- I think I would be in favour of triggering a

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Yang Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267983#comment-17267983 ] Yang Wang commented on FLINK-21008: --- We could implement an empty {{SignalHandler}}. And then register

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Till Rohrmann (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267854#comment-17267854 ] Till Rohrmann commented on FLINK-21008: --- Is it possible to ignore the SIGTERM signal in the JVM?

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Yang Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267825#comment-17267825 ] Yang Wang commented on FLINK-21008: --- Actually, maybe we do not need to respond to theĀ SIGTERM in

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Till Rohrmann (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267821#comment-17267821 ] Till Rohrmann commented on FLINK-21008: --- I see, then an alternative solution would be to signal

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Yang Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267804#comment-17267804 ] Yang Wang commented on FLINK-21008: --- You are right. Deregistering the application from K8s(aka delete

[jira] [Commented] (FLINK-21008) ClusterEntrypoint#shutDownAsync may not be fully executed

2021-01-19 Thread Till Rohrmann (Jira)
[ https://issues.apache.org/jira/browse/FLINK-21008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267793#comment-17267793 ] Till Rohrmann commented on FLINK-21008: --- Is the problem that deregistering the application from