ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhuvanthi Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-22432) Getting NPE when trying to get services information from service group
Date Tue, 14 Nov 2017 19:43:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-22432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhuvanthi Radhakrishnan resolved AMBARI-22432.
------------------------------------------------
    Resolution: Fixed

> Getting NPE when trying to get services information from service group
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-22432
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22432
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Madhuvanthi Radhakrishnan
>            Assignee: Madhuvanthi Radhakrishnan
>             Fix For: 3.0.0
>
>
> Install lates ambari build from feature branch. Add HDFS,YARN,MP and ZK services. After
cluster will be deployed run this request in command line:
> curl -X GET -u admin:admin -H "X-Requested-By: ambari" http://localhost:8080/api/v1/clusters/cl1/servicegroups/core/services/ZOOKEEPER
> Getting NPE here:
> 13 Nov 2017 17:40:48,727 ERROR [ambari-client-thread-35] ContainerResponse:419 - The
RuntimeException could not be mapped to a response, re-throwing to the HTTP container
> java.lang.NullPointerException
>  at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getConfigurations(AmbariManagementControllerImpl.java:1562)
>  at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getConfigurations(AmbariManagementControllerImpl.java:4016)
> Problem is in fact that clusterConfigEntity doesn't have serviceId (service id == null).
So method cacheConfigurations doesn't work.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message