The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Ambari Forum

Ambari startup error

  • #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)

  • Author
    Replies
  • #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)

    #54478
    #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.

    #54660
    #54664
    DeLano Hornbuckle
    Participant

    Yes that was it, thanks again.

The forum ‘Ambari’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.