You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2016/03/16 13:35:33 UTC
[jira] [Updated] (HIVE-13294) AvroSerde leaks the connection in a
case when reading schema from a url
[ https://issues.apache.org/jira/browse/HIVE-13294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chaoyu Tang updated HIVE-13294:
-------------------------------
Status: Patch Available (was: Open)
> AvroSerde leaks the connection in a case when reading schema from a url
> -----------------------------------------------------------------------
>
> Key: HIVE-13294
> URL: https://issues.apache.org/jira/browse/HIVE-13294
> Project: Hive
> Issue Type: Bug
> Components: Serializers/Deserializers
> Reporter: Chaoyu Tang
> Assignee: Chaoyu Tang
> Attachments: HIVE-13294.patch
>
>
> AvroSerde leaks the connection in a case when reading schema from url:
> In
> public static Schema determineSchemaOrThrowException {
> ...
> return AvroSerdeUtils.getSchemaFor(new URL(schemaString).openStream());
> ...
> }
> The opened inputStream is never closed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)