You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chentao Yu (Jira)" <ji...@apache.org> on 2022/02/10 18:01:00 UTC

[jira] [Created] (HADOOP-18119) ViewFileSystem#getUri should return a URI with a empty path component

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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org