修改hadoop的ssh端口

启动hadoop,但ssh 端口不是默认的22怎么样?好在它可以配置。在conf/hadoop-env.sh里改下。如:

export HADOOP_SSH_OPTS="-p 1234"

Copyright © All Rights Reserved · 菁菁博客 Since 2012 · Proudly powered by WordPress