zentol opened a new pull request #15552: URL: https://github.com/apache/flink/pull/15552
If the future returned by `clusterClient.submitJob()` fails, then this failure is executed by a netty thread. This then causes `.whenComplete((ignored1, ignored2) -> clusterClient.close())` to also be run in the netty thread, which causes the shutdown to fail because netty can't be shutdown since a thread is still active. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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