浏览代码

YARN-5891. yarn rmadmin -help contains a misspelled ResourceManager (Grant Sohn via Varun Saxena)

Varun Saxena 8 年之前
父节点
当前提交
6a11877ab5

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java

@@ -124,7 +124,7 @@ public class RMAdminCLI extends HAAdmin {
               "Refresh acls for administration of ResourceManager"))
               "Refresh acls for administration of ResourceManager"))
           .put("-refreshServiceAcl", new UsageInfo("",
           .put("-refreshServiceAcl", new UsageInfo("",
               "Reload the service-level authorization policy file. \n\t\t" +
               "Reload the service-level authorization policy file. \n\t\t" +
-                  "ResoureceManager will reload the authorization policy file."))
+                  "ResourceManager will reload the authorization policy file."))
           .put("-getGroups", new UsageInfo("[username]",
           .put("-getGroups", new UsageInfo("[username]",
               "Get the groups which given user belongs to."))
               "Get the groups which given user belongs to."))
           .put("-addToClusterNodeLabels",
           .put("-addToClusterNodeLabels",