![Hadoop/ubuntu 中 Datanode 未启动](https://linux22.com/image/890676/Hadoop%2Fubuntu%20%E4%B8%AD%20Datanode%20%E6%9C%AA%E5%90%AF%E5%8A%A8.png)
我尝试在 Hadoop 中启动 datanode - 以下结果显示:
util.NativeCodeLoder: Unable to load native-hadoop library for your platform...
$ start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
17/02/04 17:18:19 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: starting namenode, logging to /home/hadoop1/hadoop/logs/hadoop-hadoop1-namenode-ubuntu.out
localhost: starting datanode, logging to /home/hadoop1/hadoop/logs/hadoop-hadoop1-datanode-ubuntu.out
Start**ing secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /home/hadoop1/hadoop/logs/hadoop-hadoop1-secondarynamenode-ubuntu.out
17/02/04 17:18:36 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/hadoop1/hadoop/logs/yarn-hadoop1-resourcemanager-ubuntu.out
localhost: starting nodemanager, logging to /home/hadoop1/hadoop/logs/yarn-hadoop1-nodemanager-ubuntu.out
结果如下:
jps
10034 NameNode
10661 NodeManager
10373 SecondaryNameNode
10533 ResourceManager
10956 Jps****