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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS XAttrs (HDFS-2006)
    • Fix Version/s: HDFS XAttrs (HDFS-2006)
    • Component/s: namenode
    • Labels:
      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.2.patch
          6 kB
          Andrew Wang
        2. hdfs-6414.1.patch
          6 kB
          Andrew Wang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: