Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Proxy error while starting services in Ambari 2.2

avatar
Rising Star

I'm trying to set up a single-node Hadoop cluster (HDP2.3 version) using Ambari 2.2 in Eucalyptus environment.

I have used Private IP address as recommended while registering the VM's (RHEL 6.5) with Ambari.

When I tried to bring up Hadoop services (MR2, Hive, Yarn) , I'm getting the below error:

 <LI id=L_11001_11>Error Code 11001: Host not found
<LI id=L_11001_12>Background: This error indicates that
the gateway could not find the IP address of the website you are trying to
access. This is usually due to a DNS-related error.
<LI id=L_11001_13>Date: 2/9/2016 5:57:11 AM [GMT]
<LI id=L_11001_14>Server: FIESPRX004.xxx.net
<LI id=L_11001_15>Source: DNS error
</UL>
1 ACCEPTED SOLUTION

avatar
Master Mentor
12 REPLIES 12

avatar
Master Mentor

@Phoncy Joseph

Please have a look at dns configuration for Eucalyptus

avatar
Master Mentor

avatar
Rising Star

Thanks for the response. I have set no proxy for local addresses in the host machine using export no_proxy from the command line. Below is the command that fails while starting the service:

resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X GET 'http://fqdn:50070/webhdfs/v1/app-logs?op=GETFILESTATUS&user.name=hdfs'' returned status_code=502.

avatar
Master Mentor

@Phoncy Joseph Bad Gateway request. Are you able to run this? telnet fqdn 50070 ?

avatar
Rising Star

Yes, it says connected.

avatar
Master Mentor

avatar
Rising Star

Setting no proxy for the fqdn in /etc/profile solved the issue. Thanks.

avatar
Master Mentor
@Phoncy Joseph

Please accept one of the answers to close the thread.

avatar
Master Mentor

what is your JDK version with Ambari 2.2? I'm wondering if you're hitting this https://issues.apache.org/jira/browse/AMBARI-14778 @Phoncy Joseph