Member since
02-01-2017
15
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5901 | 02-03-2017 05:12 AM |
02-03-2017
06:35 AM
Yes, it is the same way you mentioned. I think, I misinterpreted you response and responded wrongly.
For each cluster, there were only one entry.
I added rest of the two.
... View more
02-03-2017
05:12 AM
@Jay SenSharma I was able to fix this by adding the hostname and ip of every cluster in /etc/hosts. I was able to ping after that with the hostname.
This worked for me. All thanks for the input.
... View more
02-01-2017
12:42 PM
Agreed!
I'll check for the images provided by you.
All thanks!
... View more
02-01-2017
12:32 PM
So no way to resolve this issue of unknown host name?
... View more
02-01-2017
10:13 AM
My Bad, I cloned it from github. Below is the link.
https://github.com/weiqingy/caochong
... View more
02-01-2017
10:06 AM
It was an ambari image I pulled from docker hub. Did nothing specific to N/W setting for docker. I just turned off my firewall on every node which in turn didn't allow me to ping google.
... View more
02-01-2017
09:17 AM
Yes, they are already existing.
... View more
02-01-2017
09:11 AM
Hi, I'm able to ping every node via IP. But with hostname it gives error. [root@8c043e0d490c /]# ping 16aadcc9c315
ping: unknown host 16aadcc9c315 Thanks!
... View more
02-01-2017
08:56 AM
Hi, @Jay SenSharma Below are the details in /etc/hosts in my 3 clusters. ################################## 127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.0.2 8c043e0d490c ################################ 127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.0.3 16aadcc9c315 ################################## 127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.0.4 b1ec39e6d58b ################################# hostname -f shows the name of my container ID for each cluster.
... View more
02-01-2017
07:44 AM
Hi, While starting Hiveserver2 in apache ambari, I'm getting "Couldn't resolve host" issue. My ambari setup is a docker image having 3 clusters. I can see that, as part to resolve the host it is taking the docker container name followed by the port no. I completely doubt if that is going to work. http://16aadcc9c315:50070 not sure why it is like this. 16aadcc9c315 is the name of one of my cluster which is a docker image. Any input on this will be appreciable? Below is the error in logs file:
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Docker