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

zhihai xu commented on HADOOP-10876:
------------------------------------

This JIRA is similar as HADOOP-1386:The constructor of Path should not take an 
empty string as a parameter.
Since the string-based constructor checks for an empty string, for consistency 
it would make sense that the URI-based constructor do the same thing.

> 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
>
> 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)

Reply via email to