Home Forums Ambari Ambari startup error

This topic contains 5 replies, has 2 voices, and was last updated by  DeLano Hornbuckle 4 months, 3 weeks ago.

  • Creator
    Topic
  • #54475

    DeLano Hornbuckle
    Participant

    This is the error i get when trying to start Ambari for the 1st time.

    ERROR [main] AmbariServer:531 – Failed to run the Ambari Server
    com.google.inject.ProvisionException: Guice provision errors:

    1) Error injecting constructor, java.net.UnknownHostException: Hadoop_Headnode: Hadoop_Headnode: Name or service not known
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl.<init>(AmbariManagementControllerImpl.java:219)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl.class(AmbariManagementControllerImpl.java:140)
    while locating org.apache.ambari.server.controller.AmbariManagementControllerImpl
    while locating org.apache.ambari.server.controller.AmbariManagementController
    at org.apache.ambari.server.agent.HeartBeatHandler.<init>(HeartBeatHandler.java:97)
    at org.apache.ambari.server.agent.HeartBeatHandler.class(HeartBeatHandler.java:77)
    while locating org.apache.ambari.server.agent.HeartBeatHandler

    1 error
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    at org.apache.ambari.server.controller.AmbariServer.performStaticInjection(AmbariServer.java:497)
    at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:144)
    at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:528)
    Caused by: java.net.UnknownHostException: Hadoop_Headnode: Hadoop_Headnode: Name or service not known
    at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl.<init>(AmbariManagementControllerImpl.java:226)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl$$EnhancerByGuice$$20bfd9c9.<init>(<generated>)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl$$EnhancerByGuice$$20bfd9c9$$FastClassByGuice$$832eb91.newInstance(<generated>)
    at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
    at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #54664

    DeLano Hornbuckle
    Participant

    Yes that was it, thanks again.

    Collapse
    #54660
    Collapse
    #54657

    DeLano Hornbuckle
    Participant

    Jeff,
    Thanks one step closer,
    Now im get this error in the
    ambari-agent.log file

    ERROR 2014-05-28 10:26:36,817 NetUtil.py:56 – [Errno 1] _ssl.c:492: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
    ERROR 2014-05-28 10:26:36,817 NetUtil.py:58 – SSLError: Failed to connect. Please check openssl library versions.

    Collapse
    #54478
    Collapse
    #54476

    DeLano Hornbuckle
    Participant

    ERROR [main] AmbariServer:426 – Error stopping the server
    java.lang.NullPointerException
    at org.apache.ambari.server.controller.AmbariServer.stop(AmbariServer.java:424)
    at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:467)

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