hadoop/hadoop-hdfs-project
Xing Lin ecafd38c09
HADOOP-18144: getTrashRoot in ViewFileSystem should return a path in ViewFS. (#4123)
To get the new behavior, define fs.viewfs.trash.force-inside-mount-point to be true.

If the trash root for path p is in the same mount point as path p,
and one of:
* The mount point isn't at the top of the target fs.
* The resolved path of path is root (eg it is the fallback FS).
* The trash root isn't in user's target fs home directory.
get the corresponding viewFS path for the trash root and return it.
Otherwise, use <mnt>/.Trash/<user>.

Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
(cherry picked from commit 8b8158f02d)

Co-authored-by: Xing Lin <xinglin@linkedin.com>
2022-03-31 20:26:09 +00:00
..
hadoop-hdfs HADOOP-18144: getTrashRoot in ViewFileSystem should return a path in ViewFS. (#4123) 2022-03-31 20:26:09 +00:00
hadoop-hdfs-client HDFS-16518: Add shutdownhook to invalidate the KeyProviders in the cache 2022-03-28 13:28:38 -07:00
hadoop-hdfs-httpfs HADOOP-18040. Use maven.test.failure.ignore instead of ignoreTestFailure (#3774) 2021-12-10 01:38:26 +09:00
hadoop-hdfs-native-client HDFS-16403. Improve FUSE IO performance by supporting FUSE parameter max_background (#3842) 2022-02-06 13:06:35 +08:00
hadoop-hdfs-nfs HDFS-15862. Make TestViewfsWithNfs3.testNfsRenameSingleNN() idempotent (#2724) 2021-12-08 20:46:22 +09:00
hadoop-hdfs-rbf HDFS-13248: Namenode needs to use the actual client IP when going through the 2022-03-21 10:24:54 -07:00
pom.xml Preparing for 3.3.3 development 2021-11-16 16:02:34 -08:00