I am connecting with ssh on a daily basis to a remote server with the command:
ssh user_name@private_ip_address
I have installed spark on my linux and try to start a slave on the remote server after starting the master. So I put the remote server public ip address in my /etc/hosts
file and I put the host name in the conf/slaves
file in spark configuration. Then I run the command start_slaves.sh
.
The output is um1: ssh: connect to host um1 port 22: Operation timed out
What is the problem? What is wrong I followed many tutorial and did exactly what is mentioned.
Why I am able to ssh without problem outside of Spark but it becomes a problem in Spark?
question from:
https://stackoverflow.com/questions/65560236/no-ssh-connection-possible-for-spark-slave 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…