ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Toader (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-20270) NPE thrown if downscale is performed before all hosts registered with cluster.
Date Thu, 02 Mar 2017 14:57:45 GMT
Sebastian Toader created AMBARI-20270:
-----------------------------------------

             Summary: NPE thrown if downscale is performed before all hosts registered with
cluster.
                 Key: AMBARI-20270
                 URL: https://issues.apache.org/jira/browse/AMBARI-20270
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
            Reporter: Sebastian Toader
            Assignee: Sebastian Toader
            Priority: Critical
             Fix For: 2.5.0


In case of a cluster provisioned using Blueprints if a downscale is performed before all hosts
listed in the cluster creation template joined the server a NullPointerException is thrown.

{code}
27 Feb 2017 06:09:07,030 ERROR [ambari-client-thread-28] ContainerResponse:419 - The RuntimeException
could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at org.apache.ambari.server.topology.LogicalRequest.removeHostRequestByHostName(LogicalRequest.java:346)
at org.apache.ambari.server.controller.internal.HostResourceProvider.processDeleteHostRequests(HostResourceProvider.java:899)
at org.apache.ambari.server.controller.internal.HostResourceProvider.deleteHosts(HostResourceProvider.java:865)
at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128)
at org.apache.ambari.server.controller.internal.HostResourceProvider$4.invoke(HostResourceProvider.java:345)
at org.apache.ambari.server.controller.internal.HostResourceProvider$4.invoke(HostResourceProvider.java:342)
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.HostResourceProvider.deleteResourcesAuthorized(HostResourceProvider.java:342)
at org.apache.ambari.server.controller.internal.AbstractAuthorizedResourceProvider.deleteResources(AbstractAuthorizedResourceProvider.java:335)
at org.apache.ambari.server.controller.internal.ClusterControllerImpl.deleteResources(ClusterControllerImpl.java:339)
at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.delete(PersistenceManagerImpl.java:132)
at org.apache.ambari.server.api.handlers.DeleteHandler.persist(DeleteHandler.java:49)
at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
at org.apache.ambari.server.api.services.HostService.deleteHost(HostService.java:194)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message