hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2906) NullPointerExeception in BlockReceiver on DataNode restart.
Date Fri, 26 Jul 2013 05:15:51 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinay updated HDFS-2906:
------------------------

    Attachment: HDFS-2906.patch

Simple patch to avoid NPE. Instead throwing IOException
                
> NullPointerExeception in BlockReceiver on DataNode restart.
> -----------------------------------------------------------
>
>                 Key: HDFS-2906
>                 URL: https://issues.apache.org/jira/browse/HDFS-2906
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 0.23.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Uma Maheswara Rao G
>            Priority: Minor
>         Attachments: HDFS-2906.patch
>
>
> Scenario:
> 1) Start the cluster with one NN and two DN's.
> 2) Keep restart one DN for every 10mins.
> 3) Let's keep the clients to write the data continuosly.
> Observed below trace.
> {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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message