Lukasz Osipiuk created HIVE-24851:
-------------------------------------

             Summary: 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


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)

Reply via email to