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

This commit is contained in:
Akira Ajisaka 2017-06-19 19:09:18 +09:00
parent 75043d3429
commit 7ade5124b8
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);
}
}