[ 
https://issues.apache.org/jira/browse/HIVE-27408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729631#comment-17729631
 ] 

Ayush Saxena commented on HIVE-27408:
-------------------------------------

Committed to master.

Thanx [~sbadhya] for the contribution, [~akshatm] and [~aturoczy] for the 
reviews!!!

> 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 creating a reader (opening the file). But it never closes the reader 
> (never closes the file). 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)

Reply via email to