diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java index edc59ab711d..f6947ff56fc 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java @@ -220,12 +220,6 @@ public class ViewFileSystem extends FileSystem { this(FsConstants.VIEWFS_URI, conf); } - public Path getTrashCanLocation(final Path f) throws FileNotFoundException { - final InodeTree.ResolveResult res = - fsState.resolve(getUriPath(f), true); - return res.isInternalDir() ? null : res.targetFileSystem.getHomeDirectory(); - } - @Override public URI getUri() { return myUri;