[
https://issues.apache.org/jira/browse/HIVE-24851?focusedWorklogId=566898&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566898
]
ASF GitHub Bot logged work on HIVE-24851:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Mar/21 12:40
Start Date: 16/Mar/21 12:40
Worklog Time Spent: 10m
Work Description: losipiuk commented on pull request #2040:
URL: https://github.com/apache/hive/pull/2040#issuecomment-800224693
@pvary is this one good to be merged?
I would love to cherry-pick that to 3.1 branch as soon as we have this in
`master`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 566898)
Time Spent: 4h (was: 3h 50m)
> 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: 4h
> 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)