Namenode of Hadoop Crash?

to create new topics or reply. | New User Registration

This topic contains 1 reply, has 2 voices, and was last updated by  Larry Liu 2 years ago.

  • Creator
  • #17830

    Hi I am running Hadoop-1.0.3 from last 1 month but today I got following error at namelog logs:
    2013-03-18 11:11:40,910 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Registered FSNamesystemStateMBean and NameNodeMXBean
    2013-03-18 11:11:40,928 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: Caching file names occuring more than 10 times
    2013-03-18 11:11:40,936 INFO org.apache.hadoop.hdfs.server.common.Storage: Number of files = 156
    2013-03-18 11:11:40,958 INFO org.apache.hadoop.hdfs.server.common.Storage: Number of files under construction = 0
    2013-03-18 11:11:40,958 INFO org.apache.hadoop.hdfs.server.common.Storage: Image file of size 23325 loaded in 0 seconds.
    2013-03-18 11:11:40,962 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.NullPointerException
    at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(
    at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(
    at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addNode(
    at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedAddFile(
    at org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(
    at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(
    at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(

    How to resolve it? I have restarted it manu times but got same problem.

    Thanks in advance.

Viewing 1 replies (of 1 total)

The topic ‘Namenode of Hadoop Crash?’ is closed to new replies.

  • Author
  • #17868

    Larry Liu

    Hi, Bhushan

    From the error log, it seems there are some issue with loadFSImage. Do you Secondary Namenode running? If you do, please try following:

    1. Create on your new namenode (please backup the older information. it must be empty)
    2. Make sure fs.checkpoint.dir is pointed at your last known good copy
    3. Start the namenode with the -importCheckpoint option

    Please let us know how’s going.


Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.