Skip to content

Commit b666075

Browse files
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()
1 parent 84b33b8 commit b666075

File tree

1 file changed

+0
-1
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs

1 file changed

+0
-1
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public AvroFSInput(final FileContext fc, final Path p) throws IOException {
6060
FS_OPTION_OPENFILE_READ_POLICY_SEQUENTIAL)
6161
.withFileStatus(status)
6262
.build());
63-
fc.open(p);
6463
}
6564

6665
@Override

0 commit comments

Comments
 (0)