[
https://issues.apache.org/jira/browse/HADOOP-12252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649529#comment-14649529
]
Xuan Gong commented on HADOOP-12252:
------------------------------------
Thanks for working on this. [~zxu] But I am still not sure why we should make
this changes. I think that this is only the test case issue. For the directory,
such as NM_LOCAL_DIRS, if we do not set it in configuration, the default value
will be used. So, i think that it will not be null.
What do you think ?
> 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)