Xieming Li created HADOOP-16815: ----------------------------------- Summary: Fix help messsage for yarn rmadmin Key: HADOOP-16815 URL: https://issues.apache.org/jira/browse/HADOOP-16815 Project: Hadoop Common Issue Type: Improvement Reporter: Xieming Li Assignee: Xieming Li
(This issue is identified by [~aajisaka] in https://issues.apache.org/jira/browse/HADOOP-16753) The help message of yarn rmadmin seems broken. Current: {code:java} $ yarn rmadmin -help refreshNodes 2>/dev/null $ $ yarn rmadmin -help refreshNodes Usage: yarn rmadmin -refreshQueues -refreshNodes [-g|graceful [timeout in seconds] -client|server] -refreshNodesResources -refreshSuperUserGroupsConfiguration -refreshUserToGroupsMappings -refreshAdminAcls -refreshServiceAcl -getGroups [username] -addToClusterNodeLabels <"label1(exclusive=true),label2(exclusive=false),label3"> -removeFromClusterNodeLabels <label1,label2,label3> (label splitted by ",") -replaceLabelsOnNode <"node1[:port]=label1,label2 node2[:port]=label1,label2"> [-failOnUnknownNodes] -directlyAccessNodeLabelStore -refreshClusterMaxPriority -updateNodeResource [NodeID] [MemSize] [vCores] ([OvercommitTimeout]) or [NodeID] [resourcetypes] ([OvercommitTimeout]). -help [cmd]Generic options supported are: -conf <configuration file> specify an application configuration file -D <property=value> define a value for a given property -fs <file:///|hdfs://namenode:port> specify default filesystem URL to use, overrides 'fs.defaultFS' property from configurations. -jt <local|resourcemanager:port> specify a ResourceManager -files <file1,...> specify a comma-separated list of files to be copied to the map reduce cluster -libjars <jar1,...> specify a comma-separated list of jar files to be included in the classpath -archives <archive1,...> specify a comma-separated list of archives to be unarchived on the compute machinesThe general command line syntax is: command [genericOptions] [commandOptions] {code} Expected: {code:java} $ yarn rmadmin -help refreshNodes 2>/dev/null -refreshNodes [-g|graceful [timeout in seconds] -client|server] $ yarn rmadmin -help refreshNodes -refreshNodes [-g|graceful [timeout in seconds] -client|server] {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org