Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[FLINK-5699] [savepoints] Check target dir when cancelling with savepoint #3263
When cancelling a job with a savepoint and no savepoint directory is configured, triggering the savepoint fails with an NPE. This is then returned to the user as the root cause.
Instead of simply forwarding the argument (which is possibly null), we check it for null and return a IllegalStateException with a meaningful message.