Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/3398#discussion_r104148014
--- Diff:
flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java ---
@@ -100,11 +100,15 @@
/** Client to communicate with the Node manager and launch TaskExecutor
processes */
private NMClient nodeManagerClient;
- /** The number of containers requested, but not yet granted */
- private int numPendingContainerRequests;
+ /** The number of containers requested for each priority, but not yet
granted */
+ private Map<Integer, Integer> numPendingContainerRequests = new
HashMap<>();
--- End diff --
when creating collections you should always specify an initial capacity.
---
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.
---