hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [10/50] [abbrv] hadoop git commit: YARN-4884. Fix missing documentation about rmadmin command regarding node labels. Contributed by Kai Sasaki.
Date Tue, 05 Apr 2016 19:30:43 GMT
YARN-4884. Fix missing documentation about rmadmin command regarding node labels. Contributed
by Kai Sasaki.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f1b8f6b2
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f1b8f6b2
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f1b8f6b2

Branch: refs/heads/HDFS-1312
Commit: f1b8f6b2c16403869f78a54268ae1165982a7050
Parents: acca149
Author: Varun Vasudev <vvasudev@apache.org>
Authored: Thu Mar 31 14:01:48 2016 +0530
Committer: Varun Vasudev <vvasudev@apache.org>
Committed: Thu Mar 31 14:01:48 2016 +0530

----------------------------------------------------------------------
 .../src/site/markdown/YarnCommands.md           | 45 +++++++++++++-------
 1 file changed, 30 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f1b8f6b2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md
index 5941988..40704f0 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md
@@ -217,31 +217,46 @@ Start the ResourceManager
 Usage:
 
 ```
-  yarn rmadmin [-refreshQueues]
-               [-refreshNodes]
-               [-refreshUserToGroupsMapping] 
-               [-refreshSuperUserGroupsConfiguration]
-               [-refreshAdminAcls] 
-               [-refreshServiceAcl]
-               [-getGroups [username]]
-               [-transitionToActive [--forceactive] [--forcemanual] <serviceId>]
-               [-transitionToStandby [--forcemanual] <serviceId>]
-               [-failover [--forcefence] [--forceactive] <serviceId1> <serviceId2>]
-               [-getServiceState <serviceId>]
-               [-checkHealth <serviceId>]
-               [-help [cmd]]
+  Usage: yarn rmadmin
+     -refreshQueues
+     -refreshNodes [-g [timeout in seconds]]
+     -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">
+     -directlyAccessNodeLabelStore
+     -refreshClusterMaxPriority
+     -updateNodeResource [NodeID] [MemSize] [vCores] ([OvercommitTimeout])
+     -transitionToActive [--forceactive] <serviceId>
+     -transitionToStandby <serviceId>
+     -failover [--forcefence] [--forceactive] <serviceId> <serviceId>
+     -getServiceState <serviceId>
+     -checkHealth <serviceId>
+     -help [cmd]
 ```
 
 | COMMAND\_OPTIONS | Description |
 |:---- |:---- |
 | -refreshQueues | Reload the queues' acls, states and scheduler specific properties. ResourceManager
will reload the mapred-queues configuration file. |
 | -refreshNodes | Refresh the hosts information at the ResourceManager. |
-| -refreshUserToGroupsMappings | Refresh user-to-groups mappings. |
+| -refreshNodesResources | Refresh resources of NodeManagers at the ResourceManager. |
 | -refreshSuperUserGroupsConfiguration | Refresh superuser proxy groups mappings. |
+| -refreshUserToGroupsMappings | Refresh user-to-groups mappings. |
 | -refreshAdminAcls | Refresh acls for administration of ResourceManager |
 | -refreshServiceAcl | Reload the service-level authorization policy file ResourceManager
will reload the authorization policy file. |
 | -getGroups [username] | Get groups the specified user belongs to. |
-| -transitionToActive [--forceactive] [--forcemanual] \<serviceId\> | Transitions the
service into Active state. Try to make the target active without checking that there is no
active node if the --forceactive option is used. This command can not be used if automatic
failover is enabled. Though you can override this by --forcemanual option, you need caution.
|
+| -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"> |
Replace labels on nodes (please note that we do not support specifying multiple labels on
a single host for now.) |
+| -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. |
+| -transitionToActive [--forceactive] [--forcemanual] \<serviceId\> | Transitions the
service into Active state. Try to make the target active without checking that there is no
active node if the --forceactive option is used. This command can not be used if automatic
failover is enabled. Though you can override this by --forcemanual option, you need caution.
This command can not be used if automatic failover is enabled.|
 | -transitionToStandby [--forcemanual] \<serviceId\> | Transitions the service into
Standby state. This command can not be used if automatic failover is enabled. Though you can
override this by --forcemanual option, you need caution. |
 | -failover [--forceactive] \<serviceId1\> \<serviceId2\> | Initiate a failover
from serviceId1 to serviceId2. Try to failover to the target service even if it is not ready
if the --forceactive option is used. This command can not be used if automatic failover is
enabled. |
 | -getServiceState \<serviceId\> | Returns the state of the service. |


Mime
View raw message