Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.4.0
-
None
Description
While installing a fresh cluster, a config group got created "accidentally" but no hosts were associated with it.
So, create the config group and save it but do not associate any hosts.
If you proceed, the install/start phase fails with the following:
org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Config group not found, clusterName = c1, groupId = 1472253656242
Error in ambari server log:
26 Aug 2016 23:22:30,473 INFO [ambari-client-thread-24] AbstractResourceProvider:377 - Component: ZOOKEEPER_SERVER, recovery_enabled from stack definition:false
26 Aug 2016 23:22:30,508 ERROR [ambari-client-thread-25] AbstractResourceProvider:343 - Caught AmbariException when modifying a resource
org.apache.ambari.server.AmbariException: Config group not found, clusterName = c1, groupId = 1472253656242
at org.apache.ambari.server.controller.internal.ConfigGroupResourceProvider.updateConfigGroups(ConfigGroupResourceProvider.java:633)
at org.apache.ambari.server.controller.internal.ConfigGroupResourceProvider.access$300(ConfigGroupResourceProvider.java:70)
at org.apache.ambari.server.controller.internal.ConfigGroupResourceProvider$4.invoke(ConfigGroupResourceProvider.java:296)
at org.apache.ambari.server.controller.internal.ConfigGroupResourceProvider$4.invoke(ConfigGroupResourceProvider.java:293)
at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
at org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:336)
at org.apache.ambari.server.controller.internal.ConfigGroupResourceProvider.updateResources(ConfigGroupResourceProvider.java:293)
at org.apache.ambari.server.controller.internal.ConfigGroupResourceProvider.updateResourcesAuthorized(ConfigGroupResourceProvider.java:210)
at org.apache.ambari.server.controller.internal.AbstractAuthorizedResourceProvider.updateResources(AbstractAuthorizedResourceProvider.java:301)
at org.apache.ambari.server.controller.internal.ClusterControllerImpl.updateResources(ClusterControllerImpl.java:319)
at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.update(PersistenceManagerImpl.java:125)
at org.apache.ambari.server.api.handlers.UpdateHandler.persist(UpdateHandler.java:45)
at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
...
Attachments
Attachments
Issue Links
- links to