hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [20/50] [abbrv] hadoop git commit: HADOOP-14538. Fix TestFilterFileSystem and TestHarFileSystem failures after DistributedFileSystem.append API. Contributed by Lei (Eddy) Xu.
Date Wed, 21 Jun 2017 23:24:07 GMT
HADOOP-14538. Fix TestFilterFileSystem and TestHarFileSystem failures after DistributedFileSystem.append
API. Contributed by Lei (Eddy) Xu.


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

Branch: refs/heads/HDFS-10467
Commit: 7ade5124b8b6c52a084ec187c531017eee0f1884
Parents: 75043d3
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:09:18 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/7ade5124/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/7ade5124/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 c410e34..6a1e8bd 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