You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/07/26 13:38:03 UTC

[GitHub] dawidwys commented on a change in pull request #6294: [FLINK-9013][docs] Document yarn.containers.vcores only being effective whe…

dawidwys commented on a change in pull request #6294: [FLINK-9013][docs] Document yarn.containers.vcores only being effective whe…
URL: https://github.com/apache/flink/pull/6294#discussion_r205459192
 
 

 ##########
 File path: flink-yarn/src/main/java/org/apache/flink/yarn/configuration/YarnConfigOptions.java
 ##########
 @@ -65,7 +65,11 @@
 		key("yarn.containers.vcores")
 		.defaultValue(-1)
 		.withDescription("The number of virtual cores (vcores) per YARN container. By default, the number of vcores" +
-			" is set to the number of slots per TaskManager, if set, or to 1, otherwise.");
+			" is set to the number of slots per TaskManager, if set, or to 1, otherwise. In order for this parameter " +
+			"to be used your cluster must have CPU scheduling enabled. You can do this e.g. by setting the " +
+			"org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler or enabling " +
+			"org.apache.hadoop.yarn.util.resource.DominantResourceCalculator for " +
+			"org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler");
 
 Review comment:
   You were right @NicoK . The `DominantResourceCalculator` didn't work for me in 2.8.3. Sorry for the confusion.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services