Browse Source

HADOOP-11156. DelegateToFileSystem should implement getFsStatus(final Path f). Contributed by Zhihai Xu.

Andrew Wang 10 years ago
parent
commit
d7075ada5d

+ 3 - 0
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

+ 5 - 0
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegateToFileSystem.java

@@ -128,6 +128,11 @@ public abstract class DelegateToFileSystem extends AbstractFileSystem {
     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();