环境:ubuntu 14.04,hadoop 2.6
当我键入start-all.sh和jps,DataNode不会列出终端上
>jps
9529 ResourceManager
9652 NodeManager
9060 NameNode
10108 Jps
9384 SecondaryNameNode
Run Code Online (Sandbox Code Playgroud)
根据这个答案:Datanode进程没有在Hadoop中运行
我尝试了最好的解决方案
bin/stop-all.sh (or stop-dfs.sh and stop-yarn.sh in the 2.x serie)rm -Rf /app/tmp/hadoop-your-username/*bin/hadoop namenode -format (or hdfs in the 2.x series)但是,现在我明白了:
>jps
20369 ResourceManager
26032 Jps
20204 SecondaryNameNode
20710 NodeManager
Run Code Online (Sandbox Code Playgroud)
如你所见,即使NameNode是失踪,请帮助我.
DataNode logs:https://gist.github.com/fifiteen82726/b561bbd9cdcb9bf36032
NmaeNode logs:https://gist.github.com/fifiteen82726/02dcf095b5a23c1570b0
mapred-site.xml :
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed under …Run Code Online (Sandbox Code Playgroud)