我找不到这个问题的任何答案:
[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
有人知道任何解决方案吗?
答案 0 :(得分:0)
我应该启用守护进程sshd来连接和发布
<。> .bashrc导出HADOOP_OPTS =&#34; $ HADOOP_OPTS -Djava.library.path =的/ usr /本地/ hadoop的/ LIB /天然&#34;