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


Ship it!




Ship It!

- Sandor Magyari


On June 14, 2016, 2:51 p.m., Daniel Gergely wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48691/
> -----------------------------------------------------------
> 
> (Updated June 14, 2016, 2:51 p.m.)
> 
> 
> Review request for Ambari, Laszlo Puskas, Robert Nettleton, Sandor Magyari, 
> Sumit Mohanty, and Sebastian Toader.
> 
> 
> Bugs: AMBARI-17219
>     https://issues.apache.org/jira/browse/AMBARI-17219
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When a host is removed, it is necessary to have all the components stopped 
> and removed, before the host itself can be deleted.
> If a host component is not stopped, it is not allowed to be removed, so the 
> host itself cannot be removed. However if re-adding the host is tried, even 
> if it is still in the cluster, a row is inserted to topology_host_info table. 
> Multiple lines of the same host in that table is incorrect, so topology 
> validation fails.
> Expected behaviour: if host is still in the cluster, a duplicate should not 
> be able to be persisted in any of the related tables.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java
>  e3f5b49 
>   
> ambari-server/src/test/java/org/apache/ambari/server/topology/TopologyManagerTest.java
>  fd8653c 
> 
> Diff: https://reviews.apache.org/r/48691/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Daniel Gergely
> 
>

Reply via email to