You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Devaraj Das <dd...@hortonworks.com> on 2011/10/29 23:28:15 UTC

AMBARI-111 broke some REST stuff ?

Cluster creation was running successfully with the version of the trunk prior to AMBARI-111 commit (AFAICT). Now I am getting an NPE - 
java.lang.NullPointerException
	at org.apache.ambari.components.impl.XmlComponentDefinition.getInputStream(XmlComponentDefinition.java:299)
	at org.apache.ambari.components.impl.XmlComponentDefinition.<init>(XmlComponentDefinition.java:315)
	at org.apache.ambari.controller.Cluster.addClusterDefinition(Cluster.java:89)
	at org.apache.ambari.controller.Clusters.addCluster(Clusters.java:360)
	at org.apache.ambari.controller.Clusters.<init>(Clusters.java:132)
	at org.apache.ambari.controller.Clusters.getInstance(Clusters.java:141)
	at org.apache.ambari.controller.rest.resources.ClustersResource.updateClusterDefinition(ClustersResource.java:166)


The command that I am using :
./bin/ambari client cluster create -name ddas1 -stack hadoop-security -goalstate ACTIVE -nodes Devaraj-Dass-MacBook-Pro.local -role namenode=Devaraj-Dass-MacBook-Pro.local -role datanode=Devaraj-Dass-MacBook-Pro.local -services hdfs

Re: AMBARI-111 broke some REST stuff ?

Posted by Owen O'Malley <ow...@hortonworks.com>.
Sorry about that. When I was doing the documentation, I also changed some
of the entities to attributes. Not sure what I broke. I'll check it out.

-- Owen