Details
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
Attachments
Issue Links
- is caused by
-
HDFS-15372 Files in snapshots no longer see attribute provider permissions
-
- Resolved
-
- relates to
-
HDFS-16132 SnapshotDiff report fails with invalid path assertion with external Attribute provider
-
- Resolved
-