azagrebin opened a new pull request #6718: [FLINK-9891] Add optional hook to shutdown cluster if a session was created in per-job mode in attached mode URL: https://github.com/apache/flink/pull/6718 ## What is the purpose of the change This PR picks up #6540, adds a cli option to activate the cluster shutdown hook. By default, it preserves previous behaviour where cluster is not shutdown in case of abrupt cli exit. ## Brief change log - add SHUTDOWN_IF_ATTACHED_OPTION in cli ## Verifying this change Trivial option, can be checked running example job in local yarn cluster: HADOOP_CLASSPATH=`hadoop classpath` $FLINK/bin/flink run -m yarn-cluster $FLINK/examples/streaming/WordCount.jar ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (yes) - If yes, how is the feature documented? (docs)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services