You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xieming Li (Jira)" <ji...@apache.org> on 2020/01/20 06:09:00 UTC

[jira] [Updated] (HADOOP-16815) Fix help message for yarn rmadmin

     [ https://issues.apache.org/jira/browse/HADOOP-16815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xieming Li updated HADOOP-16815:
--------------------------------
    Summary: Fix help message for yarn rmadmin  (was: Fix help messsage for yarn rmadmin)

> Fix help message 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
>            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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org