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:
Steve Loughran 2022-12-06 09:58:51 +00:00
parent 36889005f7
commit 95890f3368
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ public class AvroFSInput implements Closeable, SeekableInput {
FS_OPTION_OPENFILE_READ_POLICY_SEQUENTIAL) FS_OPTION_OPENFILE_READ_POLICY_SEQUENTIAL)
.withFileStatus(status) .withFileStatus(status)
.build()); .build());
fc.open(p);
} }
@Override @Override