hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From naganarasimha...@apache.org
Subject hadoop git commit: YARN-5720. Update document for "rmadmin -replaceLabelOnNode". Contributred by Tao Jie
Date Thu, 03 Nov 2016 07:24:37 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 99d0b3eb2 -> 0c7caba08


YARN-5720. Update document for "rmadmin -replaceLabelOnNode". Contributred by Tao Jie

(cherry picked from commit 0e75496049001b00c00901fcbfe3d4229b2fd64a)


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

Branch: refs/heads/branch-2
Commit: 0c7caba087993ba754169da0cd82914a5c810efc
Parents: 99d0b3e
Author: Naganarasimha <naganarasimha_gr@apache.org>
Authored: Thu Nov 3 12:32:22 2016 +0530
Committer: Naganarasimha <naganarasimha_gr@apache.org>
Committed: Thu Nov 3 12:50:38 2016 +0530

----------------------------------------------------------------------
 .../hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md  | 2 +-
 .../hadoop-yarn-site/src/site/markdown/YarnCommands.md           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/0c7caba0/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md
index af75bfe..a87658d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md
@@ -89,7 +89,7 @@ Notes:
 ###Add/modify node-to-labels mapping to YARN
 
 * Configuring nodes to labels mapping in **Centralized** NodeLabel setup
-    * Executing ```yarn rmadmin -replaceLabelsOnNode “node1[:port]=label1 node2=label2”```.
Added label1 to node1, label2 to node2. If user don’t specify port, it added the label to
all ```NodeManagers``` running on the node.
+    * Executing ```yarn rmadmin -replaceLabelsOnNode “node1[:port]=label1 node2=label2”
[-failOnUnknownNodes]```. Added label1 to node1, label2 to node2. If user don’t specify
port, it adds the label to all ```NodeManagers``` running on the node. If option ```-failOnUnknownNodes```
is set, this command will fail if specified nodes are unknown.
 
 * Configuring nodes to labels mapping in **Distributed** NodeLabel setup
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/0c7caba0/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 0c038f4..a916a94 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
@@ -211,7 +211,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">
+     -replaceLabelsOnNode <"node1[:port]=label1,label2 node2[:port]=label1,label2">
[-failOnUnknownNodes]
      -directlyAccessNodeLabelStore
      -refreshClusterMaxPriority
      -updateNodeResource [NodeID] [MemSize] [vCores] ([OvercommitTimeout])
@@ -235,7 +235,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"> |
Replace labels on nodes (please note that we do not support specifying multiple labels on
a single host for now.) |
+| -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.|
 | -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. |


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message