Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2006 ability to support storing extended attributes per file
  3. HDFS-6414

xattr modification operations are based on state of latest snapshot instead of current version of inode.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS XAttrs (HDFS-2006)
    • HDFS XAttrs (HDFS-2006)
    • namenode
    • None

    Description

      XAttrStorage#updateINodeXAttrs modifies the inode's XAttrFeature based on reading its current state. However, the logic for reading current state is incorrect and may instead read the state of the latest snapshot. If xattrs have been changed after creation of that snapshot, then subsequent xattr operations may yield incorrect results.

      Attachments

        1. hdfs-6414.1.patch
          6 kB
          Andrew Wang
        2. hdfs-6414.2.patch
          6 kB
          Andrew Wang

        Activity

          People

            andrew.wang Andrew Wang
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: