CentOS7 installation hadoop 2.6 startup error ssh:connent to host xxx port 22:Connection refused

CentOS7 install hadoop 2.6 startup happens

ssh:connent to host xxx port 22:Connection refused 错误:

 

If the SSH port has been modified, add it at the end of hadoop-env.sh

export HADOOP_SSH_OPTS="-p 22025" #22025 is the modified SSH port

 hadoop-env.sh is in the etc directory of the hadoop installation directory. You can also perform a find lookup:

find / -name hadoop-env.sh

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327090060&siteId=291194637