You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "zhaoyunjiong (JIRA)" <ji...@apache.org> on 2015/07/14 08:10:05 UTC
[jira] [Updated] (YARN-463) Show explicitly excluded nodes on the
UI
[ https://issues.apache.org/jira/browse/YARN-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhaoyunjiong updated YARN-463:
------------------------------
Attachment: YARN-463.patch
Screen Shot 2015-07-14 at 1.25.46 PM.png
This patch add ExcludeNodeTransition which will transition Node from NEW to DECOMMISSIONED if it is in yarn.resourcemanager.nodes.exclude-path and never register to RM before.
Attached file is the result from Web UI, and below is via rest api.
{code}
bash-4.1# cat /usr/local/hadoop/etc/hadoop/yarn-exclude
excludeHostA
excludeHostB
bash-4.1# curl http://127.0.0.1:8088/ws/v1/cluster/nodes?states=decommissioned
{"nodes":{"node":[{"rack":"","state":"DECOMMISSIONED","id":"excludeHostA:0","nodeHostName":"excludeHostA","nodeHTTPAddress":"","lastHealthUpdate":1436879910936,"version":"N/A","healthReport":"Healthy","numContainers":0,"usedMemoryMB":0,"availMemoryMB":0,"usedVirtualCores":0,"availableVirtualCores":0},{"rack":"","state":"DECOMMISSIONED","id":"excludeHostB:0","nodeHostName":"excludeHostB","nodeHTTPAddress":"","lastHealthUpdate":1436879910936,"version":"N/A","healthReport":"Healthy","numContainers":0,"usedMemoryMB":0,"availMemoryMB":0,"usedVirtualCores":0,"availableVirtualCores":0}]}}
{code}
> Show explicitly excluded nodes on the UI
> ----------------------------------------
>
> Key: YARN-463
> URL: https://issues.apache.org/jira/browse/YARN-463
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Vinod Kumar Vavilapalli
> Assignee: zhaoyunjiong
> Labels: usability
> Attachments: Screen Shot 2015-07-14 at 1.25.46 PM.png, YARN-463.patch
>
>
> Nodes can be explicitly excluded via the config yarn.resourcemanager.nodes.exclude-path. We should have a way of displaying this list via web and command line UIs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)