Andi created HADOOP-14675:
-----------------------------

             Summary: Path object disallows access to S3 objects with // in 
their names
                 Key: HADOOP-14675
                 URL: https://issues.apache.org/jira/browse/HADOOP-14675
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs/s3
    Affects Versions: 2.7.1
         Environment: Plain vanila Hadoop 2.7.
            Reporter: Andi


Seems that there's explicit code to disallow FS paths with //.
In our environment this means that direct access using url's like 
s3a://bucket/data//part1 are inaccessible.

Why does this code exist? Can it be removed?

https://github.com/apache/hadoop/blob/6fefb8f4a486b1d8071a7071e9e96f0c6299752d/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Path.java#L289-L289



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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