hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xg...@apache.org
Subject [30/57] [abbrv] hadoop git commit: YARN-6012. Remove node label (removeFromClusterNodeLabels) document is missing (Contributed by Ying Zhang via Daniel Templeton)
Date Thu, 26 Jan 2017 21:12:24 GMT
YARN-6012. Remove node label (removeFromClusterNodeLabels) document is missing (Contributed
by Ying Zhang via Daniel Templeton)

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

Branch: refs/heads/YARN-5734
Commit: a2c50127d12b0aefcf1b050e0ab0d2df2abb30b3
Parents: ce83205
Author: Daniel Templeton <templedf@apache.org>
Authored: Mon Jan 23 17:40:44 2017 -0800
Committer: Daniel Templeton <templedf@apache.org>
Committed: Mon Jan 23 17:42:54 2017 -0800

 .../hadoop-yarn-site/src/site/markdown/NodeLabel.md          | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/NodeLabel.md
index a87658d..73c9f41 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
@@ -20,6 +20,7 @@ YARN Node Labels
 * [Configuration](#Configuration)
     * [Setting up ResourceManager to enable Node Labels](#Setting_up_ResourceManager_to_enable_Node_Labels)
     * [Add/modify node labels list to YARN](#Add/modify_node_labels_list_to_YARN)
+    * [Remove node labels from YARN](#Remove_node_labels_from_YARN)
     * [Add/modify node-to-labels mapping to YARN](#Add/modify_node-to-labels_mapping_to_YARN)
     * [Configuration of Schedulers for node labels](#Configuration_of_Schedulers_for_node_labels)
 * [Specifying node label for application](#Specifying_node_label_for_application)
@@ -86,6 +87,13 @@ Notes:
     * If user don’t specify “(exclusive=…)”, exclusive will be ```true``` by default.
     * Run ```yarn cluster --list-node-labels``` to check added node labels are visible in
the cluster.
+###Remove node labels from YARN
+* Remove cluster node labels:
+    * To remove one or more node labels, execute the following command: ```yarn rmadmin -removeFromClusterNodeLabels
"<label>[,<label>,...]"```. The command argument should be a comma-separated list
of node labels to remove.
+    * It is not allowed to remove a label which has been associated with queues, i.e., one
or more queues have access to this label.
+    * To verify if specified node labels have been successfully removed, run ```yarn cluster
 ###Add/modify node-to-labels mapping to YARN
 * Configuring nodes to labels mapping in **Centralized** NodeLabel setup

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

View raw message