Support Questions

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

Adding node failed in Sandbox HDP 2.5

avatar
New Contributor

I have 3 VMs, Sandbox is installed on one of them as docker image. I'm trying to add 2 nodes to the Hadoop cluster. I have ssh from Sandbox VM to other VMs and I can ping all VMs (by ip and hostnames witch I set and added to /etc/hosts files), I also can ping from Sandbox VM to docker host ip (172.27.0.2). I made configurations according to this documentation https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Installing_HDP_AMB/content/_prepare_the_....

When I try to add new node through Ambari I get this message: Registration with the server failed. Ambari-server logs show this:

22 Feb 2017 18:21:13,174 WARN [ambari-client-thread-28] BootStrapResource:150 - Host sandboxnode116 cannot be determined.

22 Feb 2017 18:21:13,174 INFO [ambari-client-thread-28] BootStrapImpl:108 - BootStrapping hosts

1 ACCEPTED SOLUTION

avatar
Super Guru

@K Aleksandra

As @Sonu Sahi said, you are adding some complexity by using the Sandbox.

Having said that, the default Sandbox container does not expose port 8670 (Ambari Agent) and ports 8440/8441 (Ambari Server ports). You have to expose these 3 ports on the Sandbox for the agent to be able to talk to the Sandbox.

You can refer to my article on how to expose ports on the Sandbox: https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...

View solution in original post

2 REPLIES 2

avatar
Guru

Hi, is there a reason you wish to add them using the Sandbox? The Sandbox, being a specialized product, is likely adding unnecessary complexity. It might be easier avoid the complications fro the Sandbox and just do a fresh Ambari-based install.

avatar
Super Guru

@K Aleksandra

As @Sonu Sahi said, you are adding some complexity by using the Sandbox.

Having said that, the default Sandbox container does not expose port 8670 (Ambari Agent) and ports 8440/8441 (Ambari Server ports). You have to expose these 3 ports on the Sandbox for the agent to be able to talk to the Sandbox.

You can refer to my article on how to expose ports on the Sandbox: https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...