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

y1aodyip  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(610)

我就是找不到这个问题的答案: [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 有人知道解决办法吗?

8iwquhpp

8iwquhpp1#

我应该启用daemon sshd来连接和发布
export hadoop\u opts=“$hadoop\u opts-djava.library.path=/usr/local/hadoop/lib/native”
在bashrc中

相关问题