Member since
02-27-2017
171
Posts
9
Kudos Received
0
Solutions
02-15-2017
02:56 PM
I am getting Hostname Resolution Issue while trying to deploy 4 node cluster on Azure VM's. Although i am able to register all my hosts successfully but i am seeing a warning. Below are the details My ambari-agents are successfully registered with ambari-server but i am seeing a warning which says that hostname resolution issue in which it says not all the hosts could resolve hostname of other hosts. Although i have added the IP addresses and hostnames of all the hosts in /etc/hosts files of all the 4 nodes. But still it is not able to resolve. Anything else to do? Below is my example /etc/hosts file on edge node(where abcd, etf, sco, jfjf are hostnames of edge, master, slave1 and slave 2 nodes resp). Same goes with all other nodes as well 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 1.2.3.4 abcd 3.4.5.6 etf 7.8.9.1 sco 10.11.12.13 jfjf Please note that the ambari.ini file on slave1, slave2 and edge node has IP address as hostname while master node file has hostname of masternode. This is how it is setup and is working. Because i tried to register ambari agents by giving hostname in ambari.ini files of slaves and edge node but i was getting failure but master ambari agent was able to register with ambari server with fqdn.
... View more
Labels:
- Labels:
-
Apache Ambari
02-15-2017
01:44 PM
@Jay SenSharma My ambari-agents are successfully registered with ambari-server but i am seeing a warning which says that hostname resolution issue in which it says not all the hosts could resolve hostname of other hosts. Although i have added the IP addresses and hostnames of all the hosts in /etc/hosts files of all the 4 nodes. But still it is not able to resolve. Anything else to do? Below is my example /etc/hosts file on edge node(where abcd, etf, sco, jfjf are hostnames of edge, master, slave1 and slave 2 nodes resp). Same goes with all other nodes as well 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 1.2.3.4 abcd 3.4.5.6 etf 7.8.9.1 sco 10.11.12.13 jfjf Please note that the ambari.ini file on slave1, slave2 and edge node has IP address as hostname while master node file has hostname of masternode. This is how it is setup and is working. Because i tried to register ambari agents by giving hostname in ambari.ini files of slaves and edge node but i was getting failure but master ambari agent was able to register with ambari server with fqdn.
... View more
02-15-2017
10:02 AM
@Jay SenSharma actually it was not able to establish connection to ambari server hostname. So i changed the value from hostname to IP address in ambari.ini file. And it worked. But i wanted to ask one thing that i kept host name in master node ambari.ini file where ambari server is installed and it worked in first go but in slave nodes ambari.ini file it worked wit IP. Any specific reasons for that? And once again that for the above answer. It worked like charm. Could not be possible to wait till 2.5 release. 🙂 Thanks
... View more
02-15-2017
09:36 AM
@Jay SenSharma Thanks for the answer. I am able to start the ambari agent successfully on all the 3 nodes. Thanks to you. But while registering the agents from ambari UI i am getting Registration failed for slave nodes although master is able to register successfully. Any idea why? I am not able to see any other logs. Thanks
... View more
02-15-2017
09:17 AM
@Sagar Shimpi Thanks for replying. Then i want to check how to register host in case of ambari installation if manual installation is not working? I am stuck at registering host since i cannot install and start ambari agents on slave nodes. Thanks
... View more
02-15-2017
08:59 AM
I am installing 4 node cluster using ambari. I installed ambari server and ambari agent on master node. In addition to that i have installed ambari agents on 2 slave nodes. Ambari server and ambari agents on master node is running.But i am unable to start ambari-agent on my slave nodes due to the error "Ambari Agent start fails with local variable 'server_url' referenced before assignment". This seems like jira bug but it has already been fixed. https://issues.apache.org/jira/browse/AMBARI-19246 I am using ambari version 2.4.2 Could anyone please help me in starting agents on slave nodes?
... View more
Labels:
- Labels:
-
Apache Ambari
02-14-2017
10:56 AM
@Attila Kanto Just a quick thought.My cloudbreak instance is running on old VM. So if i go by your saying and delete old VM completely then will my new Cluster(on new VM's) still be running? As i would not be able to access cloudbreak UI after deletion of old VM's. Thanks Rahul
... View more
02-14-2017
05:29 AM
@Artem Ervits @Attila Kanto Please suggest. Thanks Rahul
... View more
02-14-2017
05:28 AM
I have got 4 VM's and Virtual network already running in Azure account. I wanted to confirm that will cloudbreak be able to set up hadoop cluster on those 4 VM's or will it launch 4 new VM's for cluster setup? I got stuck at this point as i have already paid for 4 VM's but as per current understanding cloudbreak is unable to launch cluster in those already running VM's. Please correct me if i am wrong. In case cloudbreak is not able to install cluster on existing VM's, What do we do with old VM's? Should we delete those VM's? Any help would be much appreciated. Thanks Rahul
... View more
Labels:
- Labels:
-
Hortonworks Cloudbreak