Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.10.0, 3.3.1
-
None
-
None
Description
When HDFS client with viewfs want to move file/directory to trash by RemoteUser or
ProxyUser , it will fail. Codes like below:
// code placeholder
Trash.moveToAppropriateTrash(fileSystem, path, conf);
'fullyResolvedFs' will return a FileSystem with ugi of system user. But the source fileSystem ugi was specified account. So the moving to trash operation will fail. Because of trashRoot mismatch the real baseTrashPath.