我就是找不到这个问题的答案: [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条答案
按热度按时间8iwquhpp1#
我应该启用daemon sshd来连接和发布
export hadoop\u opts=“$hadoop\u opts-djava.library.path=/usr/local/hadoop/lib/native”
在bashrc中