Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3762

Resource Manager fails to come up with default capacity scheduler configs.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.1
    • Component/s: mrv2
    • Labels:
      None

      Description

      Thanks to Hari Mankude for pointing out the issue. This is the stack trace for bringing up RM with default CS configs:

      java.lang.IllegalArgumentException: Illegal value  of maximumCapacity -0.01 used in call to setMaxCapacity for queue default
              at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CSQueueUtils.checkMaxCapacity(CSQueueUtils.java:28)
              at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.setupQueueConfigs(LeafQueue.java:210)
              at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue.<init>(LeafQueue.java:184)
      
      1. MAPREDUCE-3762.patch
        0.9 kB
        Mahadev konar

        Activity

        Mahadev konar created issue -
        Hide
        Mahadev konar added a comment -

        This should fix it.

        Show
        Mahadev konar added a comment - This should fix it.
        Mahadev konar made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-3762.patch [ 12512472 ]
        Mahadev konar made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12512472/MAPREDUCE-3762.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1713//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1713//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12512472/MAPREDUCE-3762.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1713//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1713//console This message is automatically generated.
        Hide
        Arun C Murthy added a comment -

        I just committed this. Thanks Mahadev!

        Show
        Arun C Murthy added a comment - I just committed this. Thanks Mahadev!
        Arun C Murthy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.23.1 [ 12318883 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #449 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/449/)
        Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762. Fixed default CapacityScheduler configs.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #449 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/449/ ) Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762 . Fixed default CapacityScheduler configs. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1702 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1702/)
        MAPREDUCE-3762. Fixed default CapacityScheduler configs. Contributed by Mahadev Konar.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1702 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1702/ ) MAPREDUCE-3762 . Fixed default CapacityScheduler configs. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1631 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1631/)
        MAPREDUCE-3762. Fixed default CapacityScheduler configs. Contributed by Mahadev Konar.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1631 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1631/ ) MAPREDUCE-3762 . Fixed default CapacityScheduler configs. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #459 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/459/)
        Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762. Fixed default CapacityScheduler configs.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #459 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/459/ ) Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762 . Fixed default CapacityScheduler configs. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1647 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1647/)
        MAPREDUCE-3762. Fixed default CapacityScheduler configs. Contributed by Mahadev Konar.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1647 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1647/ ) MAPREDUCE-3762 . Fixed default CapacityScheduler configs. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #473 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/473/)
        Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762. Fixed default CapacityScheduler configs.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #473 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/473/ ) Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762 . Fixed default CapacityScheduler configs. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #943 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/943/)
        MAPREDUCE-3762. Fixed default CapacityScheduler configs. Contributed by Mahadev Konar.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #943 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/943/ ) MAPREDUCE-3762 . Fixed default CapacityScheduler configs. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #156 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/156/)
        Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762. Fixed default CapacityScheduler configs.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #156 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/156/ ) Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762 . Fixed default CapacityScheduler configs. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #178 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/178/)
        Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762. Fixed default CapacityScheduler configs.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #178 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/178/ ) Merge -c 1238987 from trunk to branch-0.23 to fix MAPREDUCE-3762 . Fixed default CapacityScheduler configs. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238989 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #976 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/976/)
        MAPREDUCE-3762. Fixed default CapacityScheduler configs. Contributed by Mahadev Konar.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #976 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/976/ ) MAPREDUCE-3762 . Fixed default CapacityScheduler configs. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1238987 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mahadev konar
            Reporter:
            Mahadev konar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development