[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:12
Message-ID: b66ec671b5b54a58b017a3ece1480bec () git ! apache ! org
[Download RAW message or body]

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 5a43b795b -> d4c5a3927


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

(cherry picked from commit d7075ada5d3019a8c520d34bfddb0cd73a449343)


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

Branch: refs/heads/branch-2
Commit: d4c5a392706cbc5581cade91a0bdc592bc167018
Parents: 5a43b79
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:40:00 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/d4c5a392/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 3a60701..ea88f22 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -8,6 +8,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/d4c5a392/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