You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2022/12/06 09:59:10 UTC
[hadoop] branch trunk updated: HADOOP-18560. AvroFSInput opens a stream twice and discards the second one without closing (#5186)
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 <st...@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org