We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d27c75 commit f77abb0Copy full SHA for f77abb0
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java
@@ -1274,9 +1274,9 @@ public Collection<FileStatus> getTrashRoots(boolean allUsers) {
1274
} else {
1275
FileStatus[] mountPointTrashRoots = listStatus(trashRoot);
1276
for (FileStatus trash : mountPointTrashRoots) {
1277
- // Remove the mountPoint to get the targetFS path and use
+ // Remove the mountPoint to get the targetFsTrash path
1278
String targetFsTrash = trash.getPath().toUri().getPath()
1279
- .substring(mountPoint.src.length());
+ .substring(mountPoint.src.length());
1280
1281
// Use getFileStatus to get the full path.
1282
// Do not use targetFS.makeQualified(new Path(targetFsTrash)).
0 commit comments