diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 65a5592eae..b0ae0f8507 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -347,6 +347,9 @@ Release 2.7.0 - UNRELEASED IMPROVEMENTS + HADOOP-11156. DelegateToFileSystem should implement + getFsStatus(final Path f). (Zhihai Xu via wang) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegateToFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegateToFileSystem.java index 708ca4ada5..1cdcb27760 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegateToFileSystem.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegateToFileSystem.java @@ -128,6 +128,11 @@ public FsStatus getFsStatus() throws IOException { return fsImpl.getStatus(); } + @Override + public FsStatus getFsStatus(final Path f) throws IOException { + return fsImpl.getStatus(f); + } + @Override public FsServerDefaults getServerDefaults() throws IOException { return fsImpl.getServerDefaults();