hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7884) NullPointerException in BlockSender
Date Tue, 24 Mar 2015 04:45:53 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14377272#comment-14377272
] 

Tsz Wo Nicholas Sze commented on HDFS-7884:
-------------------------------------------

> While rebasing the patch, found that test actually passes even though there is a NPE.

You are right.  The client will retry when there is a NPE so that the test indeed is passed.
 Let's commit Brahma's new patch first and add the test later.

+1 on HDFS-7884-002.patch

> NullPointerException in BlockSender
> -----------------------------------
>
>                 Key: HDFS-7884
>                 URL: https://issues.apache.org/jira/browse/HDFS-7884
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Brahma Reddy Battula
>            Priority: Blocker
>         Attachments: HDFS-7884-002.patch, HDFS-7884.patch, h7884_20150313.patch, org.apache.hadoop.hdfs.TestAppendSnapshotTruncate-output.txt
>
>
> {noformat}
> 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)
> {noformat}
> BlockSender.java:264 is shown below
> {code}
>       this.volumeRef = datanode.data.getVolume(block).obtainReference();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message