ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <>
Subject [jira] [Created] (AMBARI-4402) Delete Config Group Host mapping broken due to error introduced by perf patch
Date Thu, 23 Jan 2014 17:58:37 GMT
Siddharth Wagle created AMBARI-4402:

             Summary: Delete Config Group Host mapping broken due to error introduced by perf
                 Key: AMBARI-4402
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.5.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.5.0

*Unit test*: org.apache.ambari.server.state.ConfigGroupTest#testRemoveHost
This unit test is not a part of M15 branch, it was added later. (trunk)

Exception thrown during ConfigGroupImpl.removeHost()

2014-01-06 17:46:35,989 ERROR [main] configgroup.ConfigGroupImpl (
- Failed to delete config group host mapping, clusterName = foo, id = 1, hostname = h1
java.lang.IllegalArgumentException: Object: org.apache.ambari.server.orm.cache.ConfigGroupHostMappingImpl@cc34948d
is not a known entity type.
	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.performRemove(
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.remove(
	at org.apache.ambari.server.orm.dao.ConfigGroupHostMappingDAO.removeByPK(
	at org.apache.ambari.server.state.configgroup.ConfigGroupImpl.removeHost(
	at org.apache.ambari.server.state.cluster.ClustersImpl.deleteConfigGroupHostMapping(
	at org.apache.ambari.server.state.cluster.ClustersImpl.unmapHostFromCluster(
	at org.apache.ambari.server.state.ConfigGroupTest.testRemoveHost(

This message was sent by Atlassian JIRA

View raw message