This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 95890f336869c1a7e671448defb43e3b3a9191b7
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

Reply via email to