HADOOP-18560. AvroFSInput opens a stream twice and discards the second one without closing (#5186)
This is needed for branches with the hadoop-common changes of HADOOP-16202. Enhanced openFile()
This commit is contained in:
parent
84b33b897c
commit
b666075a41
@ -60,7 +60,6 @@ public AvroFSInput(final FileContext fc, final Path p) throws IOException {
|
|||||||
FS_OPTION_OPENFILE_READ_POLICY_SEQUENTIAL)
|
FS_OPTION_OPENFILE_READ_POLICY_SEQUENTIAL)
|
||||||
.withFileStatus(status)
|
.withFileStatus(status)
|
||||||
.build());
|
.build());
|
||||||
fc.open(p);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user