[ https://issues.apache.org/jira/browse/HADOOP-15430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773509#comment-17773509 ]
ASF GitHub Bot commented on HADOOP-15430: ----------------------------------------- whenamanlies commented on PR #1646: URL: https://github.com/apache/hadoop/pull/1646#issuecomment-1754221384 Is it possible that Path.toUri() is missing .getPath() as it seem to have broken listing of prexies containing spaces? Space becomes **%20** and **%20** becomes **%2520** DEBUG o.apache.hadoop.fs.s3a.S3AFileSystem - Stripping trailing '/' from s3://my.bucket/my folder/ DEBUG o.apache.hadoop.fs.s3a.S3AFileSystem - listFiles(s3://my.bucket/my%20folder, true) DEBUG o.apache.hadoop.fs.s3a.S3AFileSystem - Recursive list of all entries under my%20folder/ DEBUG o.apache.hadoop.fs.s3a.S3AFileSystem - LIST List my.bucket:/my%20folder/ delimiter=null keys=5000 requester pays=false DEBUG com.amazonaws.auth.AWS4Signer - AWS4 Canonical Request: '"GET / fetch-owner=false&list-type=2&max-keys=5000&prefix=my%2520folder%2F > hadoop fs -mkdir -p path-ending-with-slash/ fails with s3guard > -------------------------------------------------------------- > > Key: HADOOP-15430 > URL: https://issues.apache.org/jira/browse/HADOOP-15430 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.1.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Fix For: 3.3.0 > > Attachments: HADOOP-15430-001.patch, HADOOP-15430-002.patch, > HADOOP-15430-003.patch > > > if you call {{hadoop fs -mkdir -p path/}} on the command line with a path > ending in "/:. you get a DDB error "An AttributeValue may not contain an > empty string" -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org