[
https://issues.apache.org/jira/browse/AMBARI-5544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982952#comment-13982952
]
Dmytro Shkvyra commented on AMBARI-5544:
----------------------------------------
STR
1) Install 2 node cluster (minimum) with HDFS and YARN. Check http://<ambari
hosname>:8080/api/v1/clusters/<cluster
name>/services/YARN/components/NODEMANAGER. Request responce should have list
NM host_components and status of NM should be STARTED
2) In menu "Hosts">"All Hosts">"Node Manager" on Hosts perspective select
Decommision menu Item
3) On host, which has ResourceManager check /etc/hadoop/yarn.exclude file. In
this file should be present list of hosts where NodeManagers have been
decommited.
4) Go to Host perspective and select in menu of decommited NM "Delete" menu
item
5) Check http://<ambari hosname>:8080/api/v1/clusters/<cluster
name>/services/YARN/components/NODEMANAGER. There is host with deleted NM
should be dissapeared. Also check /etc/hadoop/yarn.exclude file. Hostname
where was deleted NM host component should be dissapeared also.
6) Repeat step 5 for all hosts where was installed NM hostcomponent
7) Check http://<ambari hosname>:8080/api/v1/clusters/<cluster
name>/services/YARN/components/NODEMANAGER. There is not should be any hosts in
host_components list and status of NM service componet should be INIT. Check
also /etc/hadoop/yarn.exclude on host with ResouceManager. This file should be
empty.
> Deleted slave components stick around from the service's perspective
> --------------------------------------------------------------------
>
> Key: AMBARI-5544
> URL: https://issues.apache.org/jira/browse/AMBARI-5544
> Project: Ambari
> Issue Type: Bug
> Components: controller
> Affects Versions: 1.5.0
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Fix For: 1.6.0
>
>
> We should set the state to INIT when the last host component gets removed
--
This message was sent by Atlassian JIRA
(v6.2#6252)