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

Hudson commented on AMBARI-20044:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1024 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1024/])
AMBARI-20044. NullPointerException after server restart in case not all 
(smagyari: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e5f188dd776296b847e461ee8428a3b3c7608564])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/topology/HostRequest.java


> NullPointerException after server restart in case not all hosts were joined
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-20044
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20044
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20044.patch
>
>
> NullPointerException after server restart in case not all hosts mentioned in 
> Cluster template were joined the cluster.
> The issue happens when TopologyManager tries to reconstruct requests for 
> hosts.
> {code}
> java.lang.NullPointerException
>       at java.lang.String.replace(String.java:2180)
>       at 
> org.apache.ambari.server.topology.HostRequest.getLogicalTasks(HostRequest.java:317)
>       at 
> org.apache.ambari.server.topology.LogicalRequest.getCommands(LogicalRequest.java:157)
>       at 
> org.apache.ambari.server.topology.LogicalRequest.getRequestStatus(LogicalRequest.java:230)
>       at 
> org.apache.ambari.server.topology.TopologyManager.isLogicalRequestFinished(TopologyManager.java:903)
>       at 
> org.apache.ambari.server.topology.TopologyManager.replayRequests(TopologyManager.java:857)
>       at 
> org.apache.ambari.server.topology.TopologyManager.ensureInitialized(TopologyManager.java:176)
>       at 
> org.apache.ambari.server.topology.TopologyManager.onHostRegistered(TopologyManager.java:477)
>       at 
> org.apache.ambari.server.state.host.HostImpl$HostRegistrationReceived.transition(HostImpl.java:34
> {code}



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

Reply via email to