[
https://issues.apache.org/jira/browse/HIVE-27408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-27408:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)