Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
-
Description
Let's say root path ("/") is the encryption zone, and there is a file called "/test" in root path.
dfs.getTrashRoot(new Path("/"))
returns "/user/$USER/.Trash",
while
dfs.getTrashRoot(new Path("/test"))
returns "/.Trash/$USER".
The first behavior is not correct. Since root path is the encryption zone, it's more reasonable to return "/.Trash/$USER" no matter what the path is.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-10756 Expose getTrashRoot to HTTPFS and WebHDFS
- Resolved