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

This commit is contained in:
Xuan 2015-06-08 15:43:03 -07:00
parent 6afe20a7a4
commit 2b2465dfac
2 changed files with 3 additions and 1 deletions

View File

@ -510,6 +510,8 @@ Release 2.8.0 - UNRELEASED
YARN-3747. TestLocalDirsHandlerService should delete the created test directory logDir2. YARN-3747. TestLocalDirsHandlerService should delete the created test directory logDir2.
(David Moore via devaraj) (David Moore via devaraj)
YARN-3778. Fix Yarn resourcemanger CLI usage. (Brahma Reddy Battula via xgong)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -1303,7 +1303,7 @@ private static void removeApplication(Configuration conf, String applicationId)
} }
private static void printUsage(PrintStream out) { private static void printUsage(PrintStream out) {
out.println("Usage: java ResourceManager [-format-state-store]"); out.println("Usage: yarn resourcemanager [-format-state-store]");
out.println(" " out.println(" "
+ "[-remove-application-from-state-store <appId>]" + "\n"); + "[-remove-application-from-state-store <appId>]" + "\n");
} }