HADOOP-14538. Fix TestFilterFileSystem and TestHarFileSystem failures after DistributedFileSystem.append API. Contributed by Lei (Eddy) Xu.
This commit is contained in:
parent
75043d3429
commit
7ade5124b8
@ -670,4 +670,9 @@ public Collection<FileStatus> getTrashRoots(boolean allUsers) {
|
|||||||
public FSDataOutputStreamBuilder createFile(Path path) {
|
public FSDataOutputStreamBuilder createFile(Path path) {
|
||||||
return fs.createFile(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) {
|
public FSDataOutputStreamBuilder createFile(Path path) {
|
||||||
return fs.createFile(path);
|
return fs.createFile(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FSDataOutputStreamBuilder appendFile(Path path) {
|
||||||
|
return fs.appendFile(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user