hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-13294) AvroSerde leaks the connection in a case when reading schema from a url
Date Wed, 16 Mar 2016 12:34:33 GMT
Chaoyu Tang created HIVE-13294:
----------------------------------

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


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