소스 검색

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()
Steve Loughran 2 년 전
부모
커밋
79aa584786
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AvroFSInput.java

+ 0 - 1
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