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:
parent
ac058c75a4
commit
2d0b6ab65d
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user