Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15525

s3a: clarify / improve support for mixed ACL buckets

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • fs/s3
    • None

    Description

      Scenario: customer wants to only give a Hadoop cluster access to a subtree of an S3 bucket.

      For example, assume Hadoop uses some IAM identity "hadoop", which they wish to grant full permission to everything under the following path:

      s3a://bucket/a/b/c/hadoop-dir

      they don't want hadoop user to be able to read/list/delete anything outside of the hadoop-dir "subdir"

      Problems: 

      To implement the "directory structure on flat key space" emulation logic we use to present a Hadoop FS on top of a blob store, we need to create / delete / list ancestors of hadoop-dir. (to maintain the invariants (1) zero-byte object with key ending in '/' exists iff empty directory is there and (2) files cannot live beneath files, only directories.)

      I'd like us to (1) document a an example with IAM ACLs policies that gets this basic functionality, and consider (2) making improvements to make this easier.

      We've discussed some of these issues before but I didn't see a dedicated JIRA.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fabbri Aaron Fabbri
            fabbri Aaron Fabbri

            Dates

              Created:
              Updated:

              Slack

                Issue deployment