Antonenko Alexander created AMBARI-13063:
--------------------------------------------
Summary: KERBEROS service incompletely installed when manual
option is selected
Key: AMBARI-13063
URL: https://issues.apache.org/jira/browse/AMBARI-13063
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.1.0, 2.1.1
Reporter: Antonenko Alexander
Assignee: Antonenko Alexander
Priority: Critical
Fix For: 2.1.2
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:
{noformat:title=/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)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)