You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2021/03/16 14:02:00 UTC

[jira] [Assigned] (HIVE-24851) resources leak on exception in AvroGenericRecordReader constructor

     [ https://issues.apache.org/jira/browse/HIVE-24851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Vary reassigned HIVE-24851:
---------------------------------

    Assignee: Lukasz Osipiuk

> 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
>            Assignee: Lukasz Osipiuk
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 4h 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)