Home Forums Ambari Ambari Installation HDP 2.0 Base URL Failing

This topic contains 6 replies, has 3 voices, and was last updated by  Vikas Sharma 2 months, 1 week ago.

  • Creator
    Topic
  • #57401

    Vikas Sharma
    Participant

    I am trying to Setup Hadoop Cluster using Ambari. I am new to Hadoop and HDP. I am facing

    several challenges. Looking for help so that I can setup my cluster

    During Install Cluster Wizard on “Select Stack” , I selected HDP 2.0.6 and I am installing

    it on CentOS 6.4 64 bit machines. I have configured Password Less SSH for all Nodes from

    Ambari Server host.

    Installation Wizard fails on “Advance Repository Options” during Base URL Validation. I

    am not able to move forward as Base URL for HDP 2.0 Repository could not be validated ,

    Getting 400 Bad Request

    Urgent Help is required

    Thanks
    - Vikas Sharma

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #57497

    Vikas Sharma
    Participant

    Hi Jeff,

    It fails on the Hosts Check on next Step if I use Skip Validation option and Following is the Log written in Ambari-server.log:,

    *******************************
    8:47:20,048 ERROR [qtp725211281-21] AmbariManagementControllerImpl:2736 – IOException loading the base URL
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:234)
    at sun.net.www.http.HttpClient.New(HttpClient.java:307)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:977)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:925)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
    at org.apache.ambari.server.controller.internal.URLStreamProvider.processURL(URLStreamProvider.java:140)
    at org.apache.ambari.server.controller.internal.URLStreamProvider.readFrom(URLStreamProvider.java:100)
    at org.apache.ambari.server.controller.internal.URLStreamProvider.readFrom(URLStreamProvider.java:175)
    at org.apache.ambari.server.controller.AmbariManagementControllerImpl.updateRespositories(AmbariManagementControllerImpl.java:2733)
    at org.apache.ambari.server.controller.internal.RepositoryResourceProvider$1.invoke(RepositoryResourceProvider.java:109)
    at org.apache.ambari.server.controller.internal.RepositoryResourceProvider$1.invoke(RepositoryResourceProvider.java:106)
    at org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:295)
    at org.apache.ambari.server.controller.internal.RepositoryResourceProvider.updateResources(RepositoryResourceProvider.java:106)
    at org.apache.ambari.server.controller.internal.ClusterControllerImpl.updateResources(ClusterControllerImpl.java:295)
    at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.update(PersistenceManagerImpl.java:99)
    at org.apache.ambari.server.api.handlers.UpdateHandler.persist(UpdateHandler.java:42)
    at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72)
    at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
    at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:103)
    at org.apache.ambari

    Collapse
    #57431

    Jeff Sposetti
    Moderator

    Is there anything being printed to the /var/log/ambari-server/ambari-server.log? What if you check the “Skip validation” option?

    After you click HDP 2.0 Stack, what are the Base URLs that are in the input fields by default?

    Collapse
    #57424

    Vikas Sharma
    Participant

    I have already added the proxy details there and my file look like follows

    AMBARI_PASSHPHRASE=”DEV”
    export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS’ -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -Dhttp.proxyHost=http://{myproxyaddress} -Dhttp.proxyPort=8080 -Dhttp.proxyUser={myProxyUser} -Dhttp.proxyPassword={myproxyPassword}’

    Please let me know if I am doing something wrong as it is still not working for me. This issue has become really critical for me…

    Thanks a lot in Advance

    Collapse
    #57422

    Yusaku Sako
    Participant

    If your system is set up to use a web proxy, then you would need to configure Ambari Server with appropriate proxy settings (otherwise, the Base Repo URLs are checked without a proxy and is expected to fail).
    Please take a look at http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/bk_ambari_reference/content/ambari_internet_proxy.html

    Collapse
    #57417

    Vikas Sharma
    Participant

    I have upgraded to Ambari 1.6.1 but still I am getting the same issue. I am behind web proxy.

    Please let me know how could I share the screenshot.

    Collapse
    #57402

    Jeff Sposetti
    Moderator

    Can you confirm which version of Ambari you are using?

    Ambari 1.6.1 is the latest.

    http://docs.hortonworks.com/HDPDocuments/Ambari-1.6.1.0/index.html

    What is the Base URL being shown? Can you include a screenshot?

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