You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "zhihai xu (JIRA)" <ji...@apache.org> on 2015/07/21 09:32:05 UTC
[jira] [Commented] (HADOOP-12252) LocalDirAllocator should not
throw NPE with empty string configuration.
[ https://issues.apache.org/jira/browse/HADOOP-12252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634657#comment-14634657 ]
zhihai xu commented on HADOOP-12252:
------------------------------------
I uploaded a patch HADOOP-12252.000.patch for review. The test in the patch will fail without the fix. The patch will throw IOException if an empty string is configured.
> 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)