You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2017/03/17 20:46:42 UTC

[jira] [Updated] (ORC-166) add codec pool to ORC; make sure end is called on underlying codecs

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

Sergey Shelukhin updated ORC-166:
---------------------------------
    Attachment: ORC-166.patch

The patch. [~prasanth_j] [~owen.omalley] can you take a look?
The problem is that end() call on codecs is not exposed, which causes native assets in direct codecs to leak until full GC. Those tend to accumulate a lot e.g. in LLAP, since codecs are created and forgotten a lot, e.g. in isAvailable method where the codec used for the check is forgotten.
This changes codecs to be reusable and adds a pool, and also changes usage patterns in some places to facilitate closing them. 

> add codec pool to ORC; make sure end is called on underlying codecs
> -------------------------------------------------------------------
>
>                 Key: ORC-166
>                 URL: https://issues.apache.org/jira/browse/ORC-166
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: ORC-166.patch
>
>
> Subj



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)