-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61273/
-----------------------------------------------------------

Review request for Ambari, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.


Bugs: AMBARI-21621
    https://issues.apache.org/jira/browse/AMBARI-21621


Repository: ambari


Description
-------

If DN is deleted the hostname is removed from exclude file and refreshnodes 
command is called. If those actions are not followed by NN restart, the deleted 
DN will be shown as DEAD on NN UI.

The slave should be removed by NN from the UI, but Ambari should not call 
refreshnodes command on deletion to ensure slave is in "decommissioned and 
dead" state, not "dead"


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
 36cfb0f 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
 2b8bf93 


Diff: https://reviews.apache.org/r/61273/diff/1/


Testing
-------

manual + unit tests


Thanks,

Dmytro Sen

Reply via email to