[ https://issues.apache.org/jira/browse/FLINK-35145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838219#comment-17838219 ]
Zhanghao Chen commented on FLINK-35145: --------------------------------------- [~fangyong] [~huweihua] WDYT about this? > Add timeout for cluster termination > ----------------------------------- > > Key: FLINK-35145 > URL: https://issues.apache.org/jira/browse/FLINK-35145 > Project: Flink > Issue Type: Improvement > Components: Runtime / Coordination > Affects Versions: 1.20.0 > Reporter: Zhanghao Chen > Priority: Major > Fix For: 1.20.0 > > > Currently, cluster termination may be blocked forever as there's no timeout > for that. For example, for an Application cluster with ZK HA enabled, when ZK > cluster is down, the cluster will reach termination status, but the > termination process will be blocked when trying to clean up HA data on ZK. > Similar phenomenon can be observed when an HDFS/S3 outage occurs. > I propose adding a timeout for the cluster termination process in > ClusterEntryPoint# > shutDownAsync method. -- This message was sent by Atlassian Jira (v8.20.10#820010)