Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-88

Update cluster nodes reservation is giving null pointer exception during cluster creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.1.0
    • 0.1.0
    • ambari-server
    • None

    Description

      ./bin/ambari client cluster create -name eric1 -blueprint cluster124-blueprint3 -goalstate active -nodes Eric-Yangs-MacBook-Pro.local -revision 0

      java.lang.NullPointerException
      at org.apache.ambari.controller.Clusters.updateClusterNodesReservation(Clusters.java:415)
      at org.apache.ambari.controller.Clusters.addCluster(Clusters.java:269)
      at org.apache.ambari.controller.Clusters.<init>(Clusters.java:153)
      at org.apache.ambari.controller.Clusters.getInstance(Clusters.java:161)
      at org.apache.ambari.controller.rest.resources.ClustersResource.addCluster(ClustersResource.java:113)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMe

      Attachments

        Activity

          People

            Unassigned Unassigned
            vitthal_gogate vitthal (Suhas) Gogate
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: