hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12252) LocalDirAllocator should not throw NPE with empty string configuration.
Date Fri, 31 Jul 2015 17:07:04 GMT

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

Xuan Gong commented on HADOOP-12252:
------------------------------------

[~zxu] Sure. will review it shortly

> 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
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         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