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

Add XAttrs to ViewFs and make XAttrs + ViewFileSystem internal dir behavior consistent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0, 3.0.0-alpha1
    • Fix Version/s: 2.6.0
    • Component/s: fs, test
    • Labels:
      None
    • Target Version/s:

      Description

      This is very similar to the work done in HADOOP-10845 (Add common tests for ACLs in combination with viewfs)

      Here we make the XAttrs + ViewFileSystem internal dir behavior consistent. Right now, when users attempt XAttr operation on an internal dir, they will get an UnsupportedOperationException. Instead, we should throw the ReadOnlyMountTable AccessControlException or the NotInMountPointException.

      We also add the XAttrs APIs to ViewFs. This involves adding them to ChRootedFs as well. Also, listXAttrs is missing from FileContext, so we should add that in.

        Attachments

        1. HADOOP-10887.2.patch
          14 kB
          Stephen Chu
        2. HADOOP-10887.1.patch
          14 kB
          Stephen Chu

          Issue Links

            Activity

              People

              • Assignee:
                schu Stephen Chu
                Reporter:
                schu Stephen Chu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: