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 "Steve Loughran (Jira)" <ji...@apache.org> on 2020/03/25 11:00:00 UTC

[jira] [Commented] (HADOOP-16939) s3a fs.s3a.authoritative.path should support multiple FS URIs

    [ https://issues.apache.org/jira/browse/HADOOP-16939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066603#comment-17066603 ] 

Steve Loughran commented on HADOOP-16939:
-----------------------------------------

{code}
Caused by: java.lang.IllegalArgumentException: Wrong FS s3a://bucket-24//data -expected s3a://scale

	at org.apache.hadoop.fs.s3native.S3xLoginHelper.checkPath(S3xLoginHelper.java:224)
	at org.apache.hadoop.fs.s3a.S3AFileSystem.checkPath(S3AFileSystem.java:1021)
	at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:624)
	at org.apache.hadoop.fs.s3a.S3AFileSystem.makeQualified(S3AFileSystem.java:983)
	at org.apache.hadoop.fs.s3a.S3AFileSystem.qualify(S3AFileSystem.java:1009)
	at org.apache.hadoop.fs.s3a.s3guard.S3Guard.getAuthoritativePaths(S3Guard.java:982)
	at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:434)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3391)
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:158)
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3451)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3419)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:513)
	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361)
	... 25 more
{code}

> s3a fs.s3a.authoritative.path should support multiple FS URIs
> -------------------------------------------------------------
>
>                 Key: HADOOP-16939
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16939
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>
> (This may have worked until we did recent changes to s3a path qualification)
> fs.s3a.authoritative.path was intended to support not just a list of paths, but a list of URIs, so that you could explicitly list those paths which were authoritative in specific buckets. 
> Parsing of the list in an FS instance must therefore discard all which are of different URI authorities



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org