我理解你需要使用session模式,即./bin/yarn-session.sh [1] [1] https://ci.apache.org/projects/flink/flink-docs-master/ops/deployment/yarn_setup.html#flink-yarn-session
Best, Yangze Guo On Sun, Jun 28, 2020 at 9:10 AM guanyq <dlgua...@163.com> wrote: > > 问题1 > > ./bin/flink run -m > yarn-cluster每次提交是都会产生一个新的APP-ID如:application_1567067657620_0254 > > 当yarn application -kill application_1567067657620_0254后, > > 在提交./bin/flink run -m yarn-cluster如何不让这个appid递增? > > 问题2 > > ./bin/flink run -m yarn-cluster提交任务后。cancel掉job,如何在提交到这个appid上? > >