You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/01/30 19:32:09 UTC

[jira] [Updated] (HDFS-5856) DataNode.checkDiskError might throw NPE

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

Josh Elser updated HDFS-5856:
-----------------------------

    Attachment: HDFS-5856.diff

Patch against trunk

> DataNode.checkDiskError might throw NPE
> ---------------------------------------
>
>                 Key: HDFS-5856
>                 URL: https://issues.apache.org/jira/browse/HDFS-5856
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 2.2.0
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HDFS-5856.diff
>
>
> Running a small 2.2.0 cluster with a heavy workload. I noticed in the DataNode log that when faced with network exceptions, I would sometimes get a NullPointerException from checkDiskError.
> Looking at the code, if the Exception that is handed to checkDiskError contains a null message, the checks that try to identify if the Exception is network-related will throw a NPE.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)