Hello,
I'm trying to use the flink 1.11 stop command to gracefully shutdown application with savepoint. flink stop --savepointPath s3a://path_to_save_point c5d52e0146258f80fd52a3bf002d2a1b -yid application_1620673166934_0001 2021-05-11 06:26:57,852 ERROR org.apache.flink.client.cli.CliFrontend [] - Error while running the command. Cancel command seems to be working fine. Please let me know how to fix this TimeoutException. Thanks. |
Essentially this exception just means
that the savepoint operation took longer than the CLI expected.
This can occur for a number of reasons;
maybe everything is working as expected but the timeout is just
too low (controlled via "client.timeout").
It could also be that the savepoint
operation takes abnormally long; for example due to IO
bottlenecks.
I suggest to look into the JobManager
logs to see whether the savepoint was actually created / the
application shut down, and if so then maybe just increase the
timeouts.
On 5/11/2021 9:06 AM, Diwakar Jha
wrote:
|
Thanks. I tried this command and it worked. flink stop -p s3a://path_to_savepoint/savepoints 5f9241d336ea2c652a84f79ac3158597 -yid application_1620673166934_0001 I will look at the "client.timeout" also to figure out what actually happened. Thanks. On Tue, May 11, 2021 at 3:04 AM Chesnay Schepler <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |