Home Forums Ambari ambari nullpointerexception

This topic contains 3 replies, has 2 voices, and was last updated by  Kadir Sert 1 year ago.

  • Creator
    Topic
  • #44687

    Kadir Sert
    Member

    Hi,
    when i try to login ambari management console, it hangs then ambari-server.out says:

    com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
    SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
    java.lang.NullPointerException
    at java.util.Collections$UnmodifiableCollection.(Collections.java:994)
    at java.util.Collections$UnmodifiableSet.(Collections.java:1065)
    at java.util.Collections.unmodifiableSet(Collections.java:1055)
    at org.apache.ambari.server.state.cluster.ClustersImpl.getClustersForHost(ClustersImpl.java:257)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(AmbariManagementControllerImpl.java:1300)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(AmbariManagementControllerImpl.java:3976)
    at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(HostComponentResourceProvider.java:161)
    at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(HostComponentResourceProvider.java:158)
    at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(AbstractResourceProvider.java:257)
    at org.apache.ambari.server.controller.internal.HostComponentResourceProvider.getResources(HostComponentResourceProvider.java:158)
    at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:119)
    at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:94)
    at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:149)
    at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:61)
    at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:107)
    at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:80)
    at org.apache.ambari.server.api.services.HostComponentService.getHostComponent(HostComponentService.java:76)
    at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
    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(JavaMethodInvokerFactory.java:60)

    is this a bug? how can i resolve this?

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #45044

    Kadir Sert
    Member

    are there any nagios issues related with this problem?

    Collapse
    #45043

    Kadir Sert
    Member

    hello i use hdp 1.3.2 and ambari 1.4.1.61.

    Collapse
    #44797

    Koelli Mungee
    Moderator

    Hi Kadir,

    Can you give us some details on what version of Ambari you are running with which version of HDP? There are some nullpointer issues that were fixed in the past, so I just wanted to check.

    -Koelli

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)