[ https://issues.apache.org/jira/browse/YARN-10095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019791#comment-17019791 ]
Xieming Li edited comment on YARN-10095 at 1/21/20 1:29 AM: ------------------------------------------------------------ [~yehuanhuan] Thank your for pointing out, my original description was not correct and I fixed it. was (Author: risyomei): [~yehuanhuan] Thank you for pointing out. I have checked "hdfs haadmin -help" and it takes commands without leading '-'. Now, I am not sure if I should fix "yarn rmadmin" here or the "hdfs haadmin", or don't fix any of them at all. > Fix help message for yarn rmadmin > --------------------------------- > > Key: YARN-10095 > URL: https://issues.apache.org/jira/browse/YARN-10095 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Xieming Li > Assignee: Xieming Li > Priority: Minor > > (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: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org