This is an automated email from the ASF dual-hosted git repository. stevel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new b666075a413 HADOOP-18560. AvroFSInput opens a stream twice and discards the second one without closing (#5186) b666075a413 is described below commit b666075a413f70b8b481148edc4c20a52430d117 Author: Steve Loughran <ste...@cloudera.com> AuthorDate: Tue Dec 6 09:58:51 2022 +0000 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() --- .../hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java index 7518dd2f7ef..155381de949 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java @@ -60,7 +60,6 @@ public class AvroFSInput implements Closeable, SeekableInput { FS_OPTION_OPENFILE_READ_POLICY_SEQUENTIAL) .withFileStatus(status) .build()); - fc.open(p); } @Override --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org