[
https://issues.apache.org/jira/browse/HADOOP-10876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090245#comment-14090245
]
Koji Noguchi commented on HADOOP-10876:
---------------------------------------
Thanks Andrew, Zhihai.
(Sorry I was too lazy to create the jira myself to fix this.)
If possible, I still want to prevent path creation from empty URI.
Original bug (HADOOP-10820) was about unintentionally reading the current
working directory recursively. I'm afraid next time we hit a similar issue, it
could be about deleting the entire working directory.
Maybe I'm worrying too much. Let me think about it.
> The constructor of Path should not take an empty URL as a parameter
> -------------------------------------------------------------------
>
> Key: HADOOP-10876
> URL: https://issues.apache.org/jira/browse/HADOOP-10876
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: zhihai xu
> Assignee: zhihai xu
> Attachments: HADOOP-10876.000.patch, HADOOP-10876.001.patch
>
>
> The constructor of Path should not take an empty URL as a parameter, As
> discussed in HADOOP-10820, This JIRA is to change Path constructor at public
> Path(URI aUri) to check the empty URI and throw IllegalArgumentException for
> empty URI.
--
This message was sent by Atlassian JIRA
(v6.2#6252)