GitHub user barcahead opened a pull request:
https://github.com/apache/flink/pull/3173
Each time application is submitted to yarn, application id increases by two
In method `deployInternal` in class `AbstractYarnClusterDescriptor`, a new
application is created just to get yarn resource info for memory check. Then in
method `startAppMaster` the real application will be created, so the app id
will increase by two. I fix this issue by reusing the first new application
object and pass it as parameter for `startAppMaster`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/barcahead/flink master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3173.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3173
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---