CentOS7安装hadoop 2.6 启动错误 ssh:connent to host xxx port 22:Connection refused

CentOS7安装hadoop 2.6 启动发生

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

 

如果SSH端口修改过,在hadoop-env.sh末尾加上

export HADOOP_SSH_OPTS="-p 22025"  #22025为已修改的SSH端口

 hadoop-env.sh在hadoop安装目录下的etc目录下。也可以执行find查找:

 find / -name hadoop-env.sh

 

 

你可能感兴趣的:(hadoop,大数据,HADOOP集群)