hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2906) Null Pointer execption in blockreceiver
Date Tue, 07 Feb 2012 07:49:02 GMT

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

Uma Maheswara Rao G commented on HDFS-2906:
-------------------------------------------

Hey Brahma,
 Is it reproducing for you reliably? 
 By looking at the trace, it seems to me that, the initialization order could cause the problem.
DataXicever servers are getting initialized first than BlockPoolsManagers. So, FSDataSet might
not be initialized but your are able accept requests. Since you restarted the Node in 10mins
itself, NN would have not detected your DN shutdown. So, NN still give this deadDN adress
to your clients. When it is trying to write the block, it is throwing the NPE at replicaInfo
= datanode.data.createTemporary(block);.
Is this is the case for you?
                
> Null Pointer execption in blockreceiver
> ---------------------------------------
>
>                 Key: HDFS-2906
>                 URL: https://issues.apache.org/jira/browse/HDFS-2906
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.23.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Uma Maheswara Rao G
>
> Stared with NN two DN's and one DN is keep on restarting(for every 10mins) while write
inprogress
> {noformat}
> 2012-02-07 01:03:45,897 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: HOST-10-18-40-23:50010:DataXceiver
error processing WRITE_BLOCK operation  src: /10.18.40.20:23862 dest: /10.18.40.23:50010
> java.lang.NullPointerException
> 	at org.apache.hadoop.hdfs.server.datanode.BlockReceiver.<init>(BlockReceiver.java:151)
> 	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.writeBlock(DataXceiver.java:340)
> 	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opWriteBlock(Receiver.java:98)
> 	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:66)
> 	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:167)
> 	at java.lang.Thread.run(Thread.java:619)
> 2012-02-07 01:03:46,083 INFO org.apache.hadoop.hdfs.server.common.Storage: Locking is
disabled
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message