You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/05/04 14:57:18 UTC

[GitHub] [hadoop] jiwq commented on a change in pull request #766: YARN-9509: Added a configuration for admins to be able to capped per-container cpu usage based on a multiplier

jiwq commented on a change in pull request #766: YARN-9509: Added a configuration for admins to be able to capped per-container cpu usage based on a multiplier
URL: https://github.com/apache/hadoop/pull/766#discussion_r280984218
 
 

 ##########
 File path: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/util/CgroupsLCEResourcesHandler.java
 ##########
 @@ -138,13 +139,18 @@ void initConfig() throws IOException {
                 .NM_LINUX_CONTAINER_CGROUPS_STRICT_RESOURCE_USAGE,
             YarnConfiguration
                 .DEFAULT_NM_LINUX_CONTAINER_CGROUPS_STRICT_RESOURCE_USAGE);
+    this.cappedMultiplier =
+      conf
+        .getFloat(
 
 Review comment:
   ```suggestion
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org