Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2245

BlockManager.chooseTarget(..) throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • namenode
    • None
    • Reviewed

    Description

      2011-08-10 20:20:51,350 INFO org.apache.hadoop.ipc.Server: IPC Server handler 1 on 8020, call: addBlock(/user/had
      oopqa/passwd.1108102020.<NN hostname>.txt, DFSClient_NONMAPREDUCE_1875954430_1, null, null), rpc
       version=1, client version=68, methodsFingerPrint=-1239577025 from <gateway>:38874, error:
      java.io.IOException: java.lang.NullPointerException
              at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget(BlockManager.java:1225)
              at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1455)
              at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:786)
              ...
      

      Attachments

        1. h2245_20110810b.patch
          3 kB
          Tsz-wo Sze
        2. h2245_20110810.patch
          3 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: