hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xg...@apache.org
Subject hadoop git commit: YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula
Date Mon, 08 Jun 2015 22:44:34 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 c6cdecc6b -> 869304dc8


YARN-3778. Fix Yarn resourcemanger CLI usage. Contributed by Brahma Reddy Battula

(cherry picked from commit 2b2465dfac1f147b6bb20d878b69a8cc3e85c8ad)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/869304dc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/869304dc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/869304dc

Branch: refs/heads/branch-2
Commit: 869304dc83e8bd1070420037583f66675d165ca8
Parents: c6cdecc
Author: Xuan <xgong@apache.org>
Authored: Mon Jun 8 15:43:03 2015 -0700
Committer: Xuan <xgong@apache.org>
Committed: Mon Jun 8 15:44:25 2015 -0700

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                    | 2 ++
 .../apache/hadoop/yarn/server/resourcemanager/ResourceManager.java | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/869304dc/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index a0b5323..1d1b403 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -462,6 +462,8 @@ Release 2.8.0 - UNRELEASED
     YARN-3747. TestLocalDirsHandlerService should delete the created test directory logDir2.
     (David Moore via devaraj)
 
+    YARN-3778. Fix Yarn resourcemanger CLI usage. (Brahma Reddy Battula via xgong)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/869304dc/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
index c209873..4153ba1 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
@@ -1303,7 +1303,7 @@ public class ResourceManager extends CompositeService implements Recoverable
{
   }
 
   private static void printUsage(PrintStream out) {
-    out.println("Usage: java ResourceManager [-format-state-store]");
+    out.println("Usage: yarn resourcemanager [-format-state-store]");
     out.println("                            "
         + "[-remove-application-from-state-store <appId>]" + "\n");
   }


Mime
View raw message