You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lukasz Osipiuk (Jira)" <ji...@apache.org> on 2021/03/05 15:36:00 UTC
[jira] [Created] (HIVE-24851) resources leak on exception in
AvroGenericRecordReader constructor
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)