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