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

(cherry picked from commit 7ade5124b8b6c52a084ec187c531017eee0f1884)
This commit is contained in:
Akira Ajisaka 2017-06-19 19:09:18 +09:00
parent ac058c75a4
commit 2d0b6ab65d
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 10 additions and 0 deletions

View File

@ -670,4 +670,9 @@ public Collection<FileStatus> getTrashRoots(boolean allUsers) {
public FSDataOutputStreamBuilder createFile(Path path) {
return fs.createFile(path);
}
@Override
public FSDataOutputStreamBuilder appendFile(Path path) {
return fs.appendFile(path);
}
}

View File

@ -1273,4 +1273,9 @@ public short getDefaultReplication(Path f) {
public FSDataOutputStreamBuilder createFile(Path path) {
return fs.createFile(path);
}
@Override
public FSDataOutputStreamBuilder appendFile(Path path) {
return fs.appendFile(path);
}
}