hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13294) AvroSerde leaks the connection in a case when reading schema from a url
Date Tue, 22 Mar 2016 05:34:25 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205836#comment-15205836
] 

Lefty Leverenz commented on HIVE-13294:
---------------------------------------

[~ctang.ma], I don't see this in master (for 2.1.0) and only got an email message for the
branch-2.0 commit.  Will the commit to master come later?

> 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
>             Fix For: 2.1.0, 2.0.1
>
>         Attachments: HIVE-13294.1.patch, 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)

Mime
View raw message