[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660701#comment-14660701 ] Siqi Li commented on YARN-3485: --- The latest patch can be applied to 2.6.0 branch cleanly > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519568#comment-14519568 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk #2128 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2128/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519526#comment-14519526 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #179 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/179/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519278#comment-14519278 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-Yarn-trunk #912 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/912/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519247#comment-14519247 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #178 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/178/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519222#comment-14519222 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #169 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/169/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519196#comment-14519196 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-Hdfs-trunk #2110 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2110/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518709#comment-14518709 ] Hudson commented on YARN-3485: -- FAILURE: Integrated in Hadoop-trunk-Commit #7698 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7698/]) YARN-3485. FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies. (kasha) (kasha: rev 8f82970e0c247b37b2bf33aa21f6a39afa07efde) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FifoPolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/FairSharePolicy.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSAppAttempt.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/SchedulingPolicy.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/DominantResourceFairnessPolicy.java > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Fix For: 2.7.1 > > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, yarn-3485-3.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518574#comment-14518574 ] Hadoop QA commented on YARN-3485: - \\ \\ | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 14m 39s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. | | {color:green}+1{color} | whitespace | 0m 1s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | javac | 7m 32s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 9m 33s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 23s | The applied patch does not increase the total number of release audit warnings. | | {color:green}+1{color} | checkstyle | 7m 33s | There were no new checkstyle issues. | | {color:green}+1{color} | install | 1m 35s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 32s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 1m 17s | The patch does not introduce any new Findbugs (version 2.0.3) warnings. | | {color:green}+1{color} | yarn tests | 52m 7s | Tests passed in hadoop-yarn-server-resourcemanager. | | | | 95m 15s | | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12728948/yarn-3485-2.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 5190923 | | hadoop-yarn-server-resourcemanager test log | https://builds.apache.org/job/PreCommit-YARN-Build/7529/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt | | Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/7529/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf909.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/7529/console | This message was automatically generated. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518222#comment-14518222 ] Sandy Ryza commented on YARN-3485: -- One nit: {code} +return Math.min( Math.min(value1, value2), value3); {code} has an extra space. Otherwise +1. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-1.patch, yarn-3485-2.patch, > yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518099#comment-14518099 ] Sandy Ryza commented on YARN-3485: -- It looks like the patch computes the headroom as min(cluster total - cluster consumed, queue max resource). Do we not want it to be min(cluster total - cluster consumed, queue max resource - queue consumed)? > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-1.patch, yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516013#comment-14516013 ] Arun Suresh commented on YARN-3485: --- +1, LGTM Thanks for working on this [~kasha] > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-1.patch, yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512544#comment-14512544 ] Karthik Kambatla commented on YARN-3485: The test failure is unrelated. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-1.patch, yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512214#comment-14512214 ] Hadoop QA commented on YARN-3485: - \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 14m 47s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | javac | 7m 32s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 9m 38s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 22s | The applied patch does not increase the total number of release audit warnings. | | {color:green}+1{color} | checkstyle | 5m 25s | There were no new checkstyle issues. | | {color:green}+1{color} | install | 1m 34s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 33s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 1m 15s | The patch does not introduce any new Findbugs (version 2.0.3) warnings. | | {color:red}-1{color} | yarn tests | 52m 18s | Tests failed in hadoop-yarn-server-resourcemanager. | | | | 93m 27s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12728115/yarn-3485-1.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 78c6b46 | | hadoop-yarn-server-resourcemanager test log | https://builds.apache.org/job/PreCommit-YARN-Build/7499/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt | | Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/7499/testReport/ | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/7499/console | This message was automatically generated. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-1.patch, yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511913#comment-14511913 ] Karthik Kambatla commented on YARN-3485: [~peng.zhang] - I am not sure I understand your latest comments. FairScheduler's Fifo and Fair policies don't consider CPU max resources when calculating headroom. However, these policies consider CPU at allocation time. So, the potential maximum allocation for an app ends up being smaller than the headroom. If apps wait for headroom amount of resources, they will never get them. This JIRA attempts to fix that issue. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495742#comment-14495742 ] Peng Zhang commented on YARN-3485: -- max -memory- *cpu* usually is set arbitrarily without real meaning. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495593#comment-14495593 ] Peng Zhang commented on YARN-3485: -- some thoughts for this issue: # I think for fair and fifo, queue's fair share should already be 0, so no need not to use min(maxAvailableResource, queue.getMaxShare()) in first. And normally, for non-drf policy, max memory usually is set arbitrarily without real meaning. # I think even if headroom of fair and fifo maybe got wrong value in cpu dimension, MapReduce will not request wrong number of map and reduces. Because MapReduce use ResourceCalculatorUtils.computeAvailableContainers() to compute how much containers to ask. It will use min containers computed by two dimensions. As MAPREDUCE-6302, I think if it's related with headroom, it is probably wrong in both dimensions. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495573#comment-14495573 ] Peng Zhang commented on YARN-3485: -- {code} +maxAvailableResource.setMemory( +Math.min(maxAvailableResource.getMemory(), +queue.getMaxShare().getMemory())); +maxAvailableResource.setVirtualCores( +Math.min(maxAvailableResource.getVirtualCores(), +queue.getMaxShare().getVirtualCores())); {code} use Resources.componentwiseMin() better > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (YARN-3485) FairScheduler headroom calculation doesn't consider maxResources for Fifo and FairShare policies
[ https://issues.apache.org/jira/browse/YARN-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495466#comment-14495466 ] Anubhav Dhoot commented on YARN-3485: - Looks like a good change. This makes the headroom more accurate as its taking into account queue maxshare. > FairScheduler headroom calculation doesn't consider maxResources for Fifo and > FairShare policies > > > Key: YARN-3485 > URL: https://issues.apache.org/jira/browse/YARN-3485 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler >Affects Versions: 2.7.0 >Reporter: Karthik Kambatla >Assignee: Karthik Kambatla >Priority: Critical > Attachments: yarn-3485-prelim.patch > > > FairScheduler's headroom calculations consider the fairshare and > cluster-available-resources, and the fairshare has maxResources. However, for > Fifo and Fairshare policies, the fairshare is used only for memory and not > cpu. So, the scheduler ends up showing a higher headroom than is actually > available. This could lead to applications waiting for resources far longer > than then intend to. e.g. MAPREDUCE-6302. -- This message was sent by Atlassian JIRA (v6.3.4#6332)