hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-14538. Fix TestFilterFileSystem and TestHarFileSystem failures after DistributedFileSystem.append API. Contributed by Lei (Eddy) Xu.
Date Mon, 19 Jun 2017 10:14:34 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 ac058c75a -> 2d0b6ab65


HADOOP-14538. Fix TestFilterFileSystem and TestHarFileSystem failures after DistributedFileSystem.append
API. Contributed by Lei (Eddy) Xu.

(cherry picked from commit 7ade5124b8b6c52a084ec187c531017eee0f1884)


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

Branch: refs/heads/branch-2
Commit: 2d0b6ab65dac6d7ccfa899eeb45374cf8e3f9d50
Parents: ac058c7
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Mon Jun 19 19:09:18 2017 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Mon Jun 19 19:10:13 2017 +0900

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/fs/FilterFileSystem.java    | 5 +++++
 .../src/main/java/org/apache/hadoop/fs/HarFileSystem.java       | 5 +++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2d0b6ab6/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
index e940065..954a041 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
@@ -670,4 +670,9 @@ public class FilterFileSystem extends FileSystem {
   public FSDataOutputStreamBuilder createFile(Path path) {
     return fs.createFile(path);
   }
+
+  @Override
+  public FSDataOutputStreamBuilder appendFile(Path path) {
+    return fs.appendFile(path);
+  }
 }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2d0b6ab6/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
index ec3a457..b5d83f2 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
@@ -1273,4 +1273,9 @@ public class HarFileSystem extends FileSystem {
   public FSDataOutputStreamBuilder createFile(Path path) {
     return fs.createFile(path);
   }
+
+  @Override
+  public FSDataOutputStreamBuilder appendFile(Path path) {
+    return fs.appendFile(path);
+  }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message