Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-604

DataNodes get NullPointerException and become unresponsive on 50010

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.9.0
    • None
    • None

    Description

      I wonder whether handling of 'children' in FSDataset is thread-safe.

      Exception in thread "org.apache.hadoop.dfs.DataNode$DataXceiveServer@19b04e2" java.lang.NullPointerException
      at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
      at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
      at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
      at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
      at org.apache.hadoop.dfs.FSDataset$FSVolume.checkDirs(FSDataset.java:238)
      at org.apache.hadoop.dfs.FSDataset$FSVolumeSet.checkDirs(FSDataset.java:326)
      at org.apache.hadoop.dfs.FSDataset.checkDataDir(FSDataset.java:522)
      at org.apache.hadoop.dfs.DataNode$DataXceiveServer.run(DataNode.java:472)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        1. fsdataset-locks.patch
          5 kB
          Raghu Angadi

        Activity

          People

            rangadi Raghu Angadi
            ckunz Christian Kunz
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: