Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎07-20-2017
Accepted Solution

Add New Node within docker on CDH

I was able to start cdh within a cluster.
Now I need to connect one more node. So I added it to a private network bridge "docker network create --driver bridge isolated_nw", then I posted the ssh access port.

Docker run --hostname = quickstart.cloudera --privileged = true -t -i --network = isolated_nw -p 22:22 -p 80:80 -p 8888: 8888 quickstart / cloudera / usr / bin / docker-quickstart


After successfully accessing docker, I try to add a host.

I edited the hosts files to make them the same.
I can get a response on the new node. "Ping"
I edited the file /etc/cloudera-scm-agent/config.ini
Configuring the listening_hostname and listening_ip fields for my cloudera server.

However, it will fetch the address of the host and not the docker

Host = 192.168.11.185
Docker CDH: 172.18.0.2

Has anyone managed to add a new node inside the cluster?
Can someone give me some tips?

2.jpeg

 

 

1.jpg

 

 

New Contributor
Posts: 4
Registered: ‎07-20-2017

Re: Add New Node within docker on CDH

Tip for newbies just like me.
Use the clusterdock.sh script to add Multi-node Clusters with Cloudera QuickStart for Docker


Https://blog.cloudera.com/blog/2016/08/multi-node-clusters-with-cloudera-quickstart-for-docker/
Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.