[ 
https://issues.apache.org/jira/browse/AMBARI-15457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202907#comment-15202907
 ] 

Hudson commented on AMBARI-15457:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4515 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4515/])
AMBARI-15457. Topology host info is not cleared when a host is removed. 
(stoader: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a6dd447b0878029197f00b2f4cd34adba88e5d47])
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/TopologyHostInfoEntity.java
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedState.java
* 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedStateImpl.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* 
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/ClusterTopologyImpl.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/HostGroupInfo.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/TopologyHostInfoDAO.java
* 
ambari-server/src/main/java/org/apache/ambari/server/topology/ClusterTopology.java


> Topology host info is not cleared when a host is removed
> --------------------------------------------------------
>
>                 Key: AMBARI-15457
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15457
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Daniel Gergely
>            Assignee: Daniel Gergely
>             Fix For: 2.4.0, 2.2.2
>
>         Attachments: AMBARI-15457.patch, AMBARI-15457_branch-2.2.patch
>
>
> When a host is removed, a record is left in the topology_host_info table. As 
> a result re-adding the same host is not possible, due to invalid topology.
> Host removal should remove the corresponding record from topology_host_info 
> as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to