Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6752

Display reserved resources in web UI per application

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: fairscheduler
    • Labels:
      None

      Description

      Show the number of reserved memory and vcores for each application

      1. YARN-6752.001.patch
        8 kB
        Abdullah Yousufi
      2. YARN-6752.002.patch
        9 kB
        Abdullah Yousufi
      3. YARN-6752.003.patch
        9 kB
        Abdullah Yousufi

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11977 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11977/)
        YARN-6752. Display reserved resources in web UI per application (danieltempleton: rev 06159858868a9cbeefc31bc6be5ae48a59cc8a6c)

        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/AppInfo.java
        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesApps.java
        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/FairSchedulerAppsBlock.java
        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/dao/AppInfo.java
        • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMAppsBlock.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11977 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11977/ ) YARN-6752 . Display reserved resources in web UI per application (danieltempleton: rev 06159858868a9cbeefc31bc6be5ae48a59cc8a6c) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/AppInfo.java (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesApps.java (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/FairSchedulerAppsBlock.java (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/dao/AppInfo.java (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMAppsBlock.java
        Hide
        templedf Daniel Templeton added a comment -

        Thanks for the patch, Abdullah Yousufi. Committed to trunk and branch-2.

        Show
        templedf Daniel Templeton added a comment - Thanks for the patch, Abdullah Yousufi . Committed to trunk and branch-2.
        Hide
        templedf Daniel Templeton added a comment -

        Yeah, that's an option. Looking at it again, though, I don't see where there's a fix that's in scope for this patch. If you combine columns, you should also do that for allocated resources. Given that the new UI is coming soon, let's wait for someone to actually complain.

        +1

        Show
        templedf Daniel Templeton added a comment - Yeah, that's an option. Looking at it again, though, I don't see where there's a fix that's in scope for this patch. If you combine columns, you should also do that for allocated resources. Given that the new UI is coming soon, let's wait for someone to actually complain. +1
        Hide
        ayousufi Abdullah Yousufi added a comment -

        Definitely, perhaps we could combine the vcores and memory into one column, like resources are shown in other places

        Show
        ayousufi Abdullah Yousufi added a comment - Definitely, perhaps we could combine the vcores and memory into one column, like resources are shown in other places
        Hide
        templedf Daniel Templeton added a comment -

        Thanks. Latest patch looks good. I just tested the patch out, and I can see that the table width is starting to get a little silly. Probably overkill for this patch, but any clever thoughts on how to add the info without invoking the dreaded horizontal scroll bar?

        Show
        templedf Daniel Templeton added a comment - Thanks. Latest patch looks good. I just tested the patch out, and I can see that the table width is starting to get a little silly. Probably overkill for this patch, but any clever thoughts on how to add the info without invoking the dreaded horizontal scroll bar?
        Hide
        templedf Daniel Templeton added a comment -

        Thanks for the patch, Abdullah Yousufi. Looks like you have some indentation issues in the FairSchedulerAppsBlock constructor. Otherwise, looks good to me.

        Show
        templedf Daniel Templeton added a comment - Thanks for the patch, Abdullah Yousufi . Looks like you have some indentation issues in the FairSchedulerAppsBlock constructor. Otherwise, looks good to me.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 11s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
        0 mvndep 0m 9s Maven dependency ordering for branch
        +1 mvninstall 15m 18s trunk passed
        +1 compile 1m 59s trunk passed
        +1 checkstyle 0m 43s trunk passed
        +1 mvnsite 1m 10s trunk passed
        +1 findbugs 2m 0s trunk passed
        +1 javadoc 0m 42s trunk passed
        0 mvndep 0m 9s Maven dependency ordering for patch
        +1 mvninstall 1m 3s the patch passed
        +1 compile 1m 59s the patch passed
        +1 javac 1m 59s the patch passed
        -0 checkstyle 0m 39s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server: The patch generated 2 new + 102 unchanged - 0 fixed = 104 total (was 102)
        +1 mvnsite 1m 2s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 findbugs 2m 13s the patch passed
        +1 javadoc 0m 42s the patch passed
        +1 unit 0m 34s hadoop-yarn-server-common in the patch passed.
        -1 unit 44m 50s hadoop-yarn-server-resourcemanager in the patch failed.
        +1 asflicense 0m 19s The patch does not generate ASF License warnings.
        80m 56s



        Reason Tests
        Failed junit tests hadoop.yarn.server.resourcemanager.TestRMRestart
          hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSAppStarvation



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6752
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12875163/YARN-6752.002.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 8b263ca9809c 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / af2773f
        Default Java 1.8.0_131
        findbugs v3.1.0-RC1
        checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/16281/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server.txt
        unit https://builds.apache.org/job/PreCommit-YARN-Build/16281/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16281/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/16281/console
        Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 11s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. 0 mvndep 0m 9s Maven dependency ordering for branch +1 mvninstall 15m 18s trunk passed +1 compile 1m 59s trunk passed +1 checkstyle 0m 43s trunk passed +1 mvnsite 1m 10s trunk passed +1 findbugs 2m 0s trunk passed +1 javadoc 0m 42s trunk passed 0 mvndep 0m 9s Maven dependency ordering for patch +1 mvninstall 1m 3s the patch passed +1 compile 1m 59s the patch passed +1 javac 1m 59s the patch passed -0 checkstyle 0m 39s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server: The patch generated 2 new + 102 unchanged - 0 fixed = 104 total (was 102) +1 mvnsite 1m 2s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 2m 13s the patch passed +1 javadoc 0m 42s the patch passed +1 unit 0m 34s hadoop-yarn-server-common in the patch passed. -1 unit 44m 50s hadoop-yarn-server-resourcemanager in the patch failed. +1 asflicense 0m 19s The patch does not generate ASF License warnings. 80m 56s Reason Tests Failed junit tests hadoop.yarn.server.resourcemanager.TestRMRestart   hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSAppStarvation Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6752 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12875163/YARN-6752.002.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 8b263ca9809c 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / af2773f Default Java 1.8.0_131 findbugs v3.1.0-RC1 checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/16281/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/16281/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16281/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server Console output https://builds.apache.org/job/PreCommit-YARN-Build/16281/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 15s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s 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.
        0 mvndep 0m 11s Maven dependency ordering for branch
        +1 mvninstall 16m 38s trunk passed
        +1 compile 2m 7s trunk passed
        +1 checkstyle 0m 41s trunk passed
        +1 mvnsite 1m 10s trunk passed
        +1 findbugs 2m 2s trunk passed
        +1 javadoc 0m 45s trunk passed
        0 mvndep 0m 10s Maven dependency ordering for patch
        +1 mvninstall 1m 5s the patch passed
        +1 compile 2m 2s the patch passed
        +1 javac 2m 2s the patch passed
        -0 checkstyle 0m 41s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server: The patch generated 2 new + 83 unchanged - 0 fixed = 85 total (was 83)
        +1 mvnsite 1m 7s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 findbugs 2m 12s the patch passed
        +1 javadoc 0m 46s the patch passed
        +1 unit 0m 34s hadoop-yarn-server-common in the patch passed.
        -1 unit 44m 28s hadoop-yarn-server-resourcemanager in the patch failed.
        +1 asflicense 0m 23s The patch does not generate ASF License warnings.
        82m 28s



        Reason Tests
        Failed junit tests hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps
          hadoop.yarn.server.resourcemanager.TestRMRestart



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue YARN-6752
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12875126/YARN-6752.001.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux ea642cb68c0e 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 441378e
        Default Java 1.8.0_131
        findbugs v3.1.0-RC1
        checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/16274/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server.txt
        unit https://builds.apache.org/job/PreCommit-YARN-Build/16274/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16274/testReport/
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/16274/console
        Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 15s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s 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. 0 mvndep 0m 11s Maven dependency ordering for branch +1 mvninstall 16m 38s trunk passed +1 compile 2m 7s trunk passed +1 checkstyle 0m 41s trunk passed +1 mvnsite 1m 10s trunk passed +1 findbugs 2m 2s trunk passed +1 javadoc 0m 45s trunk passed 0 mvndep 0m 10s Maven dependency ordering for patch +1 mvninstall 1m 5s the patch passed +1 compile 2m 2s the patch passed +1 javac 2m 2s the patch passed -0 checkstyle 0m 41s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server: The patch generated 2 new + 83 unchanged - 0 fixed = 85 total (was 83) +1 mvnsite 1m 7s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 2m 12s the patch passed +1 javadoc 0m 46s the patch passed +1 unit 0m 34s hadoop-yarn-server-common in the patch passed. -1 unit 44m 28s hadoop-yarn-server-resourcemanager in the patch failed. +1 asflicense 0m 23s The patch does not generate ASF License warnings. 82m 28s Reason Tests Failed junit tests hadoop.yarn.server.resourcemanager.webapp.TestRMWebServicesApps   hadoop.yarn.server.resourcemanager.TestRMRestart Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue YARN-6752 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12875126/YARN-6752.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux ea642cb68c0e 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 441378e Default Java 1.8.0_131 findbugs v3.1.0-RC1 checkstyle https://builds.apache.org/job/PreCommit-YARN-Build/16274/artifact/patchprocess/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server.txt unit https://builds.apache.org/job/PreCommit-YARN-Build/16274/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/16274/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server Console output https://builds.apache.org/job/PreCommit-YARN-Build/16274/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.

          People

          • Assignee:
            ayousufi Abdullah Yousufi
            Reporter:
            ayousufi Abdullah Yousufi
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development