Re: Urgent help of HDFS editlog load error

2013-12-21 Thread Guo Leitao
we debugged the code and added 'try-catch' around the following codes in FSEditLog.java to skip error inodefiles. INodeFile node = null; try { node = (INodeFile) fsDir.unprotectedAddFile(path, permissions, blocks, replicatio

Urgent help of HDFS editlog load error

2013-12-20 Thread Guo Leitao
we are using CDH3U4, and secondary namenode can not work for 8 months, but we do not know. HDFS works fine, but just now I restart the HDFS, it can not work. Logs are the following, please help me : bin/hadoop namenode 13/12/20 21:29:11 INFO namenode.NameNode: STARTUP_MSG: /