求解 namenode启动失败
2016-06-13 18:23:55,247 INFO org.apache.hadoop.ipc.Server: IPC Server handler 23 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.complete from 10.123.53.246:39101: error: org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on /hbasecomb/tmp/all/_temporary/_attempt_201606131258_0040_r_000004_0/EEE3034/-r-00004: File does not exist. Holder DFSClient_NONMAPREDUCE_-1689280073_1 does not have any open files.org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on /hbasecomb/tmp/all/_temporary/_attempt_201606131258_0040_r_000004_0/EEE3034/-r-00004: File does not exist. Holder DFSClient_NONMAPREDUCE_-1689280073_1 does not have any open files.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:2609)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:2601)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.completeFileInternal(FSNamesystem.java:2667)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.completeFile(FSNamesystem.java:2644)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.complete(NameNodeRpcServer.java:556)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.complete(ClientNamenodeProtocolServerSideTranslatorPB.java:337)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:44958)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:453)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1002)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1752)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1748)
at java.security.AccessController.doPrivilege
我在运行任务的时候 不小心kill掉了任务 然后重启了集群 结果发现 重启失败 namenode启动失败了谁知道怎么解决这个问题了
上面楼主贴出的是什么日志??
错误里只是说文件不存在
/hbasecomb/tmp/all/_temporary/_attempt_201606131258_0040_r_000004_0/EEE3034/-r-00004: File does not exist. Holder DFSClient_NONMAPREDUCE_-1689280073_1
其它看不出什么问题来。
是不是kill之后,删掉了一些文件
nextuser 发表于 2016-6-13 18:58
上面楼主贴出的是什么日志??
错误里只是说文件不存在
/hbasecomb/tmp/all/_temporary/_attempt_2016061 ...
是这样的 我kill掉了Hadoop任务 然后重启了hdfs 就报了这个错误
删除集群元数据和数据目录,格式化namenode
hadoop namenode -format 再格式化一下 一半namenode无法启动都格式化一下就行了,还要删掉相应目录下的文件
页:
[1]