Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      The usage message from code does not match with the one documented.
      1. "java ResourceManager " should be "yarn resourcemanager "

       private static void printUsage(PrintStream out) {
          out.println("Usage: java ResourceManager [-format-state-store]");
          out.println("                            "
              + "[-remove-application-from-state-store <appId>]" + "\n");
        }
      
      1. YARN-3778.patch
        1 kB
        Brahma Reddy Battula

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2169 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2169/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • 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/ResourceManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2169 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2169/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) 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/ResourceManager.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #221 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/221/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #221 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/221/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #212 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/212/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • 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/ResourceManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #212 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/212/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) 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/ResourceManager.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2151 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2151/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2151 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2151/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #953 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/953/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #953 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/953/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #223 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/223/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • 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/ResourceManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #223 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/223/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) 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/ResourceManager.java
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Xuan Gong thanks for review and commit..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Xuan Gong thanks for review and commit..
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7991 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7991/)
        YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)

        • 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/ResourceManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7991 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7991/ ) YARN-3778 . Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula (xgong: rev 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad) 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/ResourceManager.java
        Hide
        xgong Xuan Gong added a comment -

        Committed into trunk/branch-2. Thanks, Brahma Reddy Battula.

        Show
        xgong Xuan Gong added a comment - Committed into trunk/branch-2. Thanks, Brahma Reddy Battula.
        Hide
        xgong Xuan Gong added a comment -

        +1 LGTM.

        Show
        xgong Xuan Gong added a comment - +1 LGTM.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Test failures are unrelated to this patch..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Test failures are unrelated to this patch..
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 15m 55s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 tests included 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.
        +1 javac 7m 34s There were no new javac warning messages.
        +1 javadoc 9m 37s There were no new javadoc warning messages.
        +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
        +1 checkstyle 0m 44s There were no new checkstyle issues.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 34s mvn install still works.
        +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
        +1 findbugs 1m 24s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        -1 yarn tests 50m 15s Tests failed in hadoop-yarn-server-resourcemanager.
            88m 5s  



        Reason Tests
        Failed unit tests hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12738148/YARN-3778.patch
        Optional Tests javadoc javac unit findbugs checkstyle
        git revision trunk / b3ffa87
        hadoop-yarn-server-resourcemanager test log https://builds.apache.org/job/PreCommit-YARN-Build/8201/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt
        Test Results https://builds.apache.org/job/PreCommit-YARN-Build/8201/testReport/
        Java 1.7.0_55
        uname Linux asf905.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/8201/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 15m 55s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 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. +1 javac 7m 34s There were no new javac warning messages. +1 javadoc 9m 37s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 0m 44s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 34s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 1m 24s The patch does not introduce any new Findbugs (version 3.0.0) warnings. -1 yarn tests 50m 15s Tests failed in hadoop-yarn-server-resourcemanager.     88m 5s   Reason Tests Failed unit tests hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12738148/YARN-3778.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / b3ffa87 hadoop-yarn-server-resourcemanager test log https://builds.apache.org/job/PreCommit-YARN-Build/8201/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt Test Results https://builds.apache.org/job/PreCommit-YARN-Build/8201/testReport/ Java 1.7.0_55 uname Linux asf905.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/8201/console This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Attaching the patch..Kindly review..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Attaching the patch..Kindly review..

          People

          • Assignee:
            brahmareddy Brahma Reddy Battula
            Reporter:
            brahmareddy Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development