苍天有泪 发表于 2016-12-10 09:56:00

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
   
页: [1]
查看完整版本: CentOS7安装hadoop 2.6 启动错误 ssh:connent to host xxx port 22:Connection refused