./sbin/start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
13/09/09 16:50:21 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/lihanhui/open-source/hadoop-2.1.0-beta/logs/hadoop-root-namenode-localhost.out
localhost: starting datanode, logging to /home/lihanhui/open-source/hadoop-2.1.0-beta/logs/hadoop-root-datanode-localhost.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /home/lihanhui/open-source/hadoop-2.1.0-beta/logs/hadoop-root-secondarynamenode-localhost.out
13/09/09 16:50:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
starting yarn daemons
starting resourcemanager, logging to /home/lihanhui/open-source/hadoop-2.1.0-beta/logs/yarn-admin-resourcemanager-localhost.out
localhost: starting nodemanager, logging to /home/lihanhui/open-source/hadoop-2.1.0-beta/logs/yarn-root-nodemanager-localhost.out
解决方法在:
etc/hadoop/core-site.xml中增加如下配置
<property>
<name>fs.default.name</name>
<value>hdfs://127.0.0.1:900</value>
</property>
重新启动,问题解决