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

Revert HDFS-15372 (Files in snapshots no longer see attribute provider permissions)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.2
    • None
    • None

    Description

      In HDFS-15372, I noted a change in behaviour between Hadoop 2 and Hadoop 3. When a user accesses a file in a snapshot, if an attribute provider is configured it would see the original file path (ie no .snapshot folder) in Hadoop 2, but it would see the snapshot path in Hadoop 3.

      HDFS-15372 changed this back, but I noted at the time it may make sense for the provider to see the actual snapshot path instead.

      Recently we discovered HDFS-16132 where the HDFS-15372 does not work correctly. At this stage I believe it is better to revert HDFS-15372 as the fix to this issue is probably not trivial and allow providers to see the actual path the user accessed.

      Attachments

        1. HDFS-16144.001.patch
          16 kB
          Stephen O'Donnell
        2. HDFS-16144.002.patch
          15 kB
          Stephen O'Donnell
        3. HDFS-16144.003.patch
          18 kB
          Stephen O'Donnell
        4. HDFS-16144.004.patch
          18 kB
          Stephen O'Donnell

        Issue Links

          Activity

            People

              sodonnell Stephen O'Donnell
              sodonnell Stephen O'Donnell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: