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

NullPointerException in BlockSender

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      java.lang.NullPointerException
      	at org.apache.hadoop.hdfs.server.datanode.BlockSender.<init>(BlockSender.java:264)
      	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.readBlock(DataXceiver.java:506)
      	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opReadBlock(Receiver.java:116)
      	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:71)
      	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:249)
      	at java.lang.Thread.run(Thread.java:745)
      

      BlockSender.java:264 is shown below

            this.volumeRef = datanode.data.getVolume(block).obtainReference();
      

      Attachments

        1. h7884_20150313.patch
          4 kB
          Tsz-wo Sze
        2. HDFS-7884.patch
          1 kB
          Brahma Reddy Battula
        3. HDFS-7884-002.patch
          1 kB
          Brahma Reddy Battula
        4. org.apache.hadoop.hdfs.TestAppendSnapshotTruncate-output.txt
          3.29 MB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              brahmareddy Brahma Reddy Battula
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: