Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1.0, 2.1.1
-
None
Description
When manually enabling Kerberos on a cluster, the KERBEROS service and its KERBEROS_CLIENT component are partially installed between the Stop Services and Kerberize Cluster pages in the Enable Kerberos Wizard.
The service and its component are initialized in the INIT state at this point. Then when proceeding through to the Start and Test Services page, the operation fails with the following error in the Ambari server log:
/var/log/ambari-server/ambari-server.log
09 Sep 2015 01:58:20,297 ERROR [qtp-client-29] AbstractResourceProvider:338 - Caught AmbariException when modifying a resource org.apache.ambari.server.AmbariException: Invalid transition for service, clusterName=KerbTimeout, clusterId=2, serviceName=KERBEROS, currentDesiredState=INIT, newDesiredState=STARTED at org.apache.ambari.server.controller.internal.ServiceResourceProvider.updateServices(ServiceResourceProvider.java:660) at org.apache.ambari.server.controller.internal.ServiceResourceProvider$4.invoke(ServiceResourceProvider.java:309) at org.apache.ambari.server.controller.internal.ServiceResourceProvider$4.invoke(ServiceResourceProvider.java:306) at org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:331) at org.apache.ambari.server.controller.internal.ServiceResourceProvider.doUpdateResources(ServiceResourceProvider.java:306) at org.apache.ambari.server.controller.internal.ServiceResourceProvider.updateResources(ServiceResourceProvider.java:220) at org.apache.ambari.server.controller.internal.ClusterControllerImpl.updateResources(ClusterControllerImpl.java:310) at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.update(PersistenceManagerImpl.java:104) at org.apache.ambari.server.api.handlers.UpdateHandler.persist(UpdateHandler.java:42) at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72) at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:105) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:74) at org.apache.ambari.server.api.services.ServiceService.updateServices(ServiceService.java:160)