hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12252) LocalDirAllocator should not throw NPE with empty string configuration.
Date Thu, 24 Sep 2015 23:16:06 GMT

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

Hudson commented on HADOOP-12252:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2354 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2354/])
HADOOP-12252. LocalDirAllocator should not throw NPE with empty string configuration. Contributed
by Zhihai Xu (zxu: rev 52c1f272ecb6c29c81898a1ff50d03a1296df1f7)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalDirAllocator.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> LocalDirAllocator should not throw NPE with empty string configuration. 
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-12252
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12252
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12252.000.patch
>
>
> LocalDirAllocator should not throw NPE with empty string configuration. When an empty
string is configured, {{LocalDirAllocator}} will throw NPE. It will be better to throw IOException
instead of NPE.



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

Mime
View raw message