Chentao Yu created HADOOP-18119:
-----------------------------------

             Summary: ViewFileSystem#getUri should return a URI with a empty 
path component
                 Key: HADOOP-18119
                 URL: https://issues.apache.org/jira/browse/HADOOP-18119
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Chentao Yu
            Assignee: Chentao Yu


The goal here is that the semantics of {{FileSystem#getURI()}} remains the same 
as before when using ViewFileSystem. 

We should assume that the URI returned by {{FileSystem#getURI()}} doesn't have 
a Path component (i.e., path component is null). DistributedFileSystem follows 
this pattern. However, ViewFileSystem add "/" as the path component in the URI 
returned.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to