GJL commented on a change in 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#discussion_r219231030
##########
File path: docs/ops/cli.md
##########
@@ -265,6 +269,10 @@ Action "run" compiles and runs a program.
connect to a different JobManager
than
the one specified in the
configuration.
+ -sae,--shutdownOnAttachedExit If the job mode is not detached and a
Review comment:
I'd rephrase it a bit: _If the job is submitted in attached mode, perform a
best-effort cluster shutdown when the CLI is terminated abruptly, e.g., in
response to a user interrupt, such as typing Ctrl + C._
If you don't like it, I'd at least change _the best effort cluster shutdown_
to _a best-effort cluster shutdown_
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services