ambari-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/AMBARI-20270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893020#comment-15893020
] 

Hadoop QA commented on AMBARI-20270:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12855673/AMBARI-20270.v1.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The test build failed in ambari-server 

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/10851//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10851//console

This message is automatically generated.

> 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
>
>         Attachments: AMBARI-20270.v1.patch
>
>
> 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