ambari nullpointerexception

to create new topics or reply. | New User Registration

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

  • Creator
    Topic
  • #44687

    Kadir Sert
    Participant

    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 to reply to this topic. | Create Account

  • Author
    Replies
  • #45044

    Kadir Sert
    Participant

    are there any nagios issues related with this problem?

    Collapse
    #45043

    Kadir Sert
    Participant

    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)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.