archlinux上的Hadoop | dfs无法启动| ssh端口22连接被拒绝

时间:2015-10-21 18:59:26

标签: java hadoop ssh

我找不到这个问题的任何答案:

  

[hadoop@evghost ~]$ start-dfs.sh 15/10/21 21:59:17 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured. Starting namenodes on [] evghost: ssh: connect to host evghost port 22: Connection refused evghost: ssh: connect to host evghost port 22: Connection refused Starting secondary namenodes [0.0.0.0] Error: Please specify one of --hosts or --hostnames options and not both. 15/10/21 21:59:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

有人知道任何解决方案吗?

1 个答案:

答案 0 :(得分:0)

我应该启用守护进程sshd来连接和发布

  

导出HADOOP_OPTS =" $ HADOOP_OPTS   -Djava.library.path =的/ usr /本地/ hadoop的/ LIB /天然"

<。> .bashrc