ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Souvik Sarkhel <souvik.sark...@gmail.com>
Subject Error while trying to creating cluster using a Blueprint
Date Fri, 20 May 2016 06:36:16 GMT
Hi All,
I have created a custom stack and I exported the existing Blueprint using


curl -H "X-Requested-By: ambari" -X GET -u admin:admin
http://localhost:8080/api/v1/clusters/BlueprintCluster?format=blueprint >>
BluePrint.txt

But when I try to create the same cluster using the exported blueprint I am
getting the folowing error:


TopologyManager:775 - TopologyManager.ConfigureClusterTask: An exception
occurred while attempting to process cluster configs and set on cluster:
java.lang.NullPointerException
        at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor$DBTopologyUpdater.isDatabaseManaged(BlueprintConfigu
rationProcessor.java:1562)
        at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor$DBTopologyUpdater.updateForClusterCreate(BlueprintCo
nfigurationProcessor.java:1536)
        at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doUpdateForClusterCreate(BlueprintConfigurationProcessor.java:257)
        at
org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:139)
        at
org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:773)
        at
org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:747)
        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)
20 May 2016 11:59:00,048  INFO [pool-2-thread-1] AsyncCallableService:111 -
Exception during task execution:
java.util.concurrent.ExecutionException: java.lang.Exception:
java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:206)
        at
org.apache.ambari.server.topology.AsyncCallableService.taskCompleted(AsyncCallableService.java:103)
        at
org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:74)
        at
org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:37)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        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)
Caused by: java.lang.Exception: java.lang.NullPointerException
        at
org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:779)
        at
org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:747)
        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)
        ... 3 more
Caused by: java.lang.NullPointerException
        at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor$DBTopologyUpdater.isDatabaseManaged(BlueprintConfigu
rationProcessor.java:1562)
        at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor$DBTopologyUpdater.updateForClusterCreate(BlueprintCo
nfigurationProcessor.java:1536)
        at
org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doUpdateForClusterCreate(BlueprintConfigurationProcessor.java:257)
        at
org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:139)
        at
org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:773)
        ... 7 more


-- 
Souvik Sarkhel

Mime
View raw message