You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2018/12/05 02:43:00 UTC

[jira] [Updated] (HIVE-21005) LLAP: Reading more stripes per-split leaks ZlibCodecs

     [ https://issues.apache.org/jira/browse/HIVE-21005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal V updated HIVE-21005:
---------------------------
    Component/s: llap

> LLAP: Reading more stripes per-split leaks ZlibCodecs
> -----------------------------------------------------
>
>                 Key: HIVE-21005
>                 URL: https://issues.apache.org/jira/browse/HIVE-21005
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>            Reporter: Gopal V
>            Priority: Major
>
> OrcEncodedDataReader - calls ensureDataReader in a loop, overwriting itself
> {code}
>     for (int stripeIxMod = 0; stripeIxMod < stripeRgs.length; ++stripeIxMod) {
> ....
>         // 6.2. Ensure we have stripe metadata. We might have read it before for RG filtering.
>         if (stripeMetadatas != null) {
>           stripeMetadata = stripeMetadatas.get(stripeIxMod);
>         } else {
> ...
>           ensureDataReader();
> ...
>         }
> {code}
> {code}
>   private void ensureDataReader() throws IOException {
> ...
>     stripeReader = orcReader.encodedReader(
>         fileKey, dw, dw, useObjectPools ? POOL_FACTORY : null, trace, useCodecPool, cacheTag);
> {code}
> creates new encodedReader without closing previous stripe's encoded reader.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)