尝试在本地服务器上运行Hadoop但无法执行此操作。
运行命令时出错./start-dfs.sh
17/08/25 11:58:08 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 []
localhost: starting namenode, logging to /home/piyush/hadoop-2.8.1/logs/hadoop-piyush-namenode-Ubuntu.out
localhost: starting datanode, logging to /home/piyush/hadoop-2.8.1/logs/hadoop-piyush-datanode-Ubuntu.out
Starting secondary namenodes [0.0.0.0] 0.0.0.0: starting secondarynamenode, logging to /home/piyush/hadoop-2.8.1/logs/hadoop-piyush-secondarynamenode-Ubuntu.out
17/08/25 11:58:33 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
答案 0 :(得分:0)
无法为您的平台加载native-hadoop库只是一个警告,您可以忽略它,执行以下命令检查namenode,辅助名称节点是否正在运行
ps aux | grep -i" namenode \ | datanode"
如果您未发现任何hadoop进程正在运行,请检查日志文件。