内存充足,但是为什么hadoop3无法启动nodemanager

 

[root@hadoop3 hadoop]# xlo
Starting namenodes on [hadoop3]
上一次登录:三 12月 27 16:06:01 CST 2017pts/24 上
Starting datanodes
上一次登录:三 12月 27 16:06:11 CST 2017pts/24 上
Starting secondary namenodes [hadoop3]
上一次登录:三 12月 27 16:06:13 CST 2017pts/24 上
Starting resourcemanager
上一次登录:三 12月 27 16:06:16 CST 2017pts/24 上
Starting nodemanagers
上一次登录:三 12月 27 16:06:20 CST 2017pts/24 上
hadoop1: ERROR: Cannot set priority of nodemanager process 4698
[root@hadoop3 hadoop]# xlfg
total used free shared buff/cache available
Mem: 15 1 13 0 0 13
Swap: 7 0 7

 

 

 

查日志

 

2017-12-27 16:06:22,847 INFO org.eclipse.jetty.server.handler.ContextHandler: Stopped o.e.j.w.WebAppContext@2205a05d{/,null,UNAVAILABLE}{/hdfs}
2017-12-27 16:06:22,850 INFO org.eclipse.jetty.server.AbstractConnector: Stopped ServerConnector@37911f88{HTTP/1.1,[http/1.1]}{0.0.0.0:9870}
2017-12-27 16:06:22,851 INFO org.eclipse.jetty.server.handler.ContextHandler: Stopped o.e.j.s.ServletContextHandler@431cd9b2{/static,file:///usr/local/hadoop-3.0.0/share/hadoop/hdfs/webapps/static/,UNAVAILABLE}
2017-12-27 16:06:22,851 INFO org.eclipse.jetty.server.handler.ContextHandler: Stopped o.e.j.s.ServletContextHandler@72c8e7b{/logs,file:///usr/local/hadoop-3.0.0/logs/,UNAVAILABLE}
2017-12-27 16:06:22,853 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode metrics system...
2017-12-27 16:06:22,853 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system stopped.
2017-12-27 16:06:22,853 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system shutdown complete.
2017-12-27 16:06:22,853 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.
java.io.IOException: NameNode is not formatted.
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:231)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1072)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:704)
at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:665)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:727)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:950)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:929)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1653)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1720)
2017-12-27 16:06:22,855 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1: java.io.IOException: NameNode is not formatted.
2017-12-27 16:06:22,856 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hadoop3/192.168.2.51
************************************************************/
[root@hadoop3 logs]# cat hadoop-root-namenode-hadoop3.log

 

posted @ 2017-12-27 16:19  papering  阅读(1700)  评论(0编辑  收藏  举报