YARN-10383. YarnCommands.md is inconsistent with the source code (#2177)
This commit is contained in:
parent
82f3ffcd64
commit
ab2b3df2de
|
@ -214,7 +214,7 @@ Usage:
|
|||
-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]
|
||||
-replaceLabelsOnNode <"node1[:port]=label1 node2[:port]=label2"> [-failOnUnknownNodes]
|
||||
-directlyAccessNodeLabelStore
|
||||
-refreshClusterMaxPriority
|
||||
-updateNodeResource [NodeID] [MemSize] [vCores] ([OvercommitTimeout]) or -updateNodeResource [NodeID] [ResourceTypes] ([OvercommitTimeout])
|
||||
|
@ -238,7 +238,7 @@ Usage:
|
|||
| -getGroups [username] | Get groups the specified user belongs to. |
|
||||
| -addToClusterNodeLabels <"label1(exclusive=true),label2(exclusive=false),label3"> | Add to cluster node labels. Default exclusivity is true. |
|
||||
| -removeFromClusterNodeLabels <label1,label2,label3> (label splitted by ",") | Remove from cluster node labels. |
|
||||
| -replaceLabelsOnNode <"node1[:port]=label1,label2 node2[:port]=label1,label2"> [-failOnUnknownNodes]| Replace labels on nodes (please note that we do not support specifying multiple labels on a single host for now.) -failOnUnknownNodes is optional, when we set this option, it will fail if specified nodes are unknown.|
|
||||
| -replaceLabelsOnNode <"node1[:port]=label1 node2[:port]=label2"> [-failOnUnknownNodes]| Replace labels on nodes (please note that we do not support specifying multiple labels on a single host for now.) -failOnUnknownNodes is optional, when we set this option, it will fail if specified nodes are unknown.|
|
||||
| -directlyAccessNodeLabelStore | This is DEPRECATED, will be removed in future releases. Directly access node label store, with this option, all node label related operations will not connect RM. Instead, they will access/modify stored node labels directly. By default, it is false (access via RM). AND PLEASE NOTE: if you configured yarn.node-labels.fs-store.root-dir to a local directory (instead of NFS or HDFS), this option will only work when the command run on the machine where RM is running. |
|
||||
| -refreshClusterMaxPriority | Refresh cluster max priority |
|
||||
| -updateNodeResource [NodeID] [MemSize] [vCores] \([OvercommitTimeout]\) | Update resource on specific node. |
|
||||
|
|
Loading…
Reference in New Issue