You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sandor Magyari (JIRA)" <ji...@apache.org> on 2016/01/19 18:35:39 UTC
[jira] [Updated] (AMBARI-14723) NPE when provisioning cluster with
a Cluster template which doesn't contain all hostgroups defined in
Blueprint
[ https://issues.apache.org/jira/browse/AMBARI-14723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandor Magyari updated AMBARI-14723:
------------------------------------
Attachment: AMBARI-14723.patch
> NPE when provisioning cluster with a Cluster template which doesn't contain all hostgroups defined in Blueprint
> ---------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-14723
> URL: https://issues.apache.org/jira/browse/AMBARI-14723
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.1
> Reporter: Sandor Magyari
> Assignee: Sandor Magyari
> Priority: Blocker
> Fix For: 2.2.1
>
> Attachments: AMBARI-14723.patch
>
>
> The below, NPE occurs when provisioning cluster with a Cluster template which doesn't contain all hostgroups defined in Blueprint.
> 18 Jan 2016 13:53:23,511 ERROR [pool-8-thread-1] TopologyManager:766 - TopologyManager.ConfigureClusterTask: An exception occurred while attempting to process cluster configs and set on cluster:
> java.lang.NullPointerException
> at org.apache.ambari.server.topology.ClusterTopologyImpl.getHostAssignmentsForComponent(ClusterTopologyImpl.java:176)
> at org.apache.ambari.server.topology.ClusterConfigurationRequest.createComponentHostMap(ClusterConfigurationRequest.java:165)
> at org.apache.ambari.server.topology.ClusterConfigurationRequest.configureKerberos(ClusterConfigurationRequest.java:130)
> at org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:103)
> at org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:764)
> at org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:738)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)