JoeWoo / hadoop-spark-hive-cluster-docker

hadoop-spark-hive-cluster-docker
52 stars 37 forks source link

Unable to ssh between containers #4

Closed Hiteshm01 closed 7 years ago

Hiteshm01 commented 7 years ago

I tried building the containers with minor changes. I am able to verify serf members using

root@master:~# serf members
master.bdp.com  172.17.0.2:7946  alive
mysql.bdp.com   172.17.0.3:7946  alive
slave1.bdp.com  172.17.0.4:7946  alive
slave2.bdp.com  172.17.0.5:7946  alive

However, on trying ssh, I encountered this

root@master:~# ssh slave1.bdp.com
ssh: connect to host slave1.bdp.com port 22: Connection refused
root@master:~#

Any idea what am I missing?

My changes are in this fork https://github.com/hiteshm01/hadoop-spark-hive-cluster-docker.

Hiteshm01 commented 7 years ago

I was able to solve it via starting ssh service in base container using

service ssh start

Though, I am not sure how it was working here before this addition.

JoeWoo commented 7 years ago

I cannot reproduce this issue in my Kitematic 0.10.2. Could you give me more information about your environment?