[ https://issues.apache.org/jira/browse/HADOOP-16250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran resolved HADOOP-16250. ------------------------------------- Resolution: Duplicate Assignee: Sean Mackrory Fix Version/s: 3.3.0 > Add a way to declare a toplevel path in a non-auth FS as auth > ------------------------------------------------------------- > > Key: HADOOP-16250 > URL: https://issues.apache.org/jira/browse/HADOOP-16250 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.3.0 > Reporter: Steve Loughran > Assignee: Sean Mackrory > Priority: Minor > Fix For: 3.3.0 > > > Feature request from the Hive team. Add a way to declare that some part of a > bucket is auth, while the rest of it isn't > This is pretty dangerous if you can start declaring arbitrary paths > auth/non-auth, so here is my proposal > * bucket is considered non-auth > * only a single path is declared auth, after which all files under it will > also be auth > * that path must be a single path element off root > * only operations which act within that path are auth. > * operations outside that path are non-auth > * anything which mixes (rename) is non-auth > * Lists on / are non-auth too. > * If a path is configured and it is not there, then everything is non-auth > (i.e. its not an error, we just ignore the setting) > There's ~10 places in S3AFileSystem which could be changed from > "isAuthoritative" to isAuthoritative(path); for rename we'd chedk src and dest > thoughts? -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org