Sourabh Badhya created HIVE-27408: ------------------------------------- Summary: Parquet file opened for reading stats is never closed Key: HIVE-27408 URL: https://issues.apache.org/jira/browse/HIVE-27408 Project: Hive Issue Type: Bug Reporter: Sourabh Badhya Assignee: Sourabh Badhya
ParquetRecordWriterWrapper while closing the writer tries to collect the stats by opening a reader. But it never closes the reader. This can leave the file open hence consuming memory and associated file handle resources. https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/write/ParquetRecordWriterWrapper.java#L143-L155 -- This message was sent by Atlassian Jira (v8.20.10#820010)