[
https://issues.apache.org/jira/browse/HIVE-24851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296120#comment-17296120
]
Lukasz Osipiuk commented on HIVE-24851:
---------------------------------------
Fix for the issue: https://github.com/apache/hive/pull/2040
> resources leak on exception in AvroGenericRecordReader constructor
> ------------------------------------------------------------------
>
> Key: HIVE-24851
> URL: https://issues.apache.org/jira/browse/HIVE-24851
> Project: Hive
> Issue Type: Bug
> Affects Versions: 3.1.2, 4.0.0
> Reporter: Lukasz Osipiuk
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> AvroGenericRecordReader constructor creates an instance of FileReader but
> lacks proper exception handling, and reader is not closed on the failure path.
> This results in leaking of underlying resources (e.g. S3 connections).
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)