Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13035

Owner should be allowed to set xattr if not already set.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • hdfs, namenode
    • None

    Description

      Motivation: This is needed to support encryption zones on WebhdfsFileSystem.

      For writing into EZ directory, webhdfs client will encrypt data on client side and will always write into /.reserved/raw/ directory so that datanode will not encrypt since its writing to /.reserved/raw directory.

      But then we have to somehow set crypto related x-attrs on the file.

      Currently only super user is allowed to set x-attrs.
      So I am proposing that the file owner(and superuser) should be allowed to set crypto related x-attrs if they are already not set.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shahrs87 Rushabh Shah
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: