Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Add New Node within docker on CDH

Solved Go to solution

Add New Node within docker on CDH

New Contributor

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Add New Node within docker on CDH

New Contributor
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/
1 REPLY 1

Re: Add New Node within docker on CDH

New Contributor
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/