[ https://issues.apache.org/jira/browse/HADOOP-15140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337946#comment-16337946 ]
Steve Loughran commented on HADOOP-15140: ----------------------------------------- Sanjay. problem here is that I can take a valid absolute path {{/dir}}, call .getParent() on it, hand it to getFileStatus and see a stack trace. I'd thought it was s3guard getting confused about the parent of a toplevel entry, but it implies thqt Path itself is a bit confused...though the resolution process of getFileStatus and the other FileSystem calls are possibly to blame, in which case, yes, that API and its home dir logic > S3guard mistakes root URI without / as non-absolute path > -------------------------------------------------------- > > Key: HADOOP-15140 > URL: https://issues.apache.org/jira/browse/HADOOP-15140 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.0.0 > Reporter: Steve Loughran > Assignee: Abraham Fine > Priority: Major > > If you call {{getFileStatus("s3a://bucket")}} then S3Guard will throw an > exception in putMetadata, as it mistakes the empty path for "non-absolute > path" -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org