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

Amareshwari Sriramadasu commented on HADOOP-6334:
-------------------------------------------------

bq.If we add an assumption that there is no # in file/directory names, then 
this is an incompatible change. 
If Path allows # in the name. And it is known that it does not support fragment 
in URI.
i.e.
URI uri = new URI("file:///foo/bar#baz");
new Path(uri).toString returns only "file:///foo/bar".
Then GPO can append fragment portion of the uri, by itself. 

> GenericOptionsParser does not understand uri for -files -libjars and 
> -archives option
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6334
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6334
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 0.22.0
>
>         Attachments: patch-6334-1.txt, patch-6334.txt
>
>
> If we give an uri for -files, -libjars and -archives option , in 
> GenericOptionsParser. It gives FileNotFoundException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to