hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5856) DataNode.checkDiskError might throw NPE
Date Fri, 31 Jan 2014 05:48:09 GMT

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

Hudson commented on HDFS-5856:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5081 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5081/])
HDFS-5856. DataNode.checkDiskError might throw NPE. Contributed by Josh Elser. (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1563064)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDiskError.java


> 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: 2.4.0
>
>         Attachments: HDFS-5856.diff, 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)

Mime
View raw message