[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-commits
Subject:    git commit: HADOOP-11156. DelegateToFileSystem should implement getFsStatus(final Path f). Contribut
From:       wang () apache ! org
Date:       2014-09-30 23:40:10
Message-ID: c4ea358a8cc544c795028b1ca8e1a3f7 () git ! apache ! org
[Download RAW message or body]

Repository: hadoop
Updated Branches:
  refs/heads/trunk 14d60dadc -> d7075ada5


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d7075ada
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d7075ada
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d7075ada

Branch: refs/heads/trunk
Commit: d7075ada5d3019a8c520d34bfddb0cd73a449343
Parents: 14d60da
Author: Andrew Wang <wang@apache.org>
Authored: Tue Sep 30 16:39:44 2014 -0700
Committer: Andrew Wang <wang@apache.org>
Committed: Tue Sep 30 16:39:44 2014 -0700

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                 | 3 +++
 .../main/java/org/apache/hadoop/fs/DelegateToFileSystem.java    | 5 +++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/d7075ada/hadoop-common-project/hadoop-common/CHANGES.txt
                
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt \
b/hadoop-common-project/hadoop-common/CHANGES.txt index 65a5592..b0ae0f8 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

http://git-wip-us.apache.org/repos/asf/hadoop/blob/d7075ada/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DelegateToFileSystem.java
                
----------------------------------------------------------------------
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 708ca4a..1cdcb27 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
 @@ -129,6 +129,11 @@ public abstract class DelegateToFileSystem extends \
AbstractFileSystem {  }
 
   @Override
+  public FsStatus getFsStatus(final Path f) throws IOException {
+    return fsImpl.getStatus(f);
+  }
+
+  @Override
   public FsServerDefaults getServerDefaults() throws IOException {
     return fsImpl.getServerDefaults();
   }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic