[jira] [Updated] (YARN-463) Show explicitly excluded nodes on the UI

2015-07-15 Thread zhaoyunjiong (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhaoyunjiong updated YARN-463:
--
Attachment: YARN-463.1.patch

Update patch fix test failures.

 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.1.patch, 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)


[jira] [Updated] (YARN-463) Show explicitly excluded nodes on the UI

2015-07-14 Thread zhaoyunjiong (JIRA)

 [ 
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)


[jira] [Updated] (YARN-463) Show explicitly excluded nodes on the UI

2013-07-03 Thread Vinod Kumar Vavilapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli updated YARN-463:
-

Issue Type: Improvement  (was: Bug)

 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
  Labels: usability

 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira