hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12302) Use KryoPool instead of thread-local caching
Date Tue, 08 Dec 2015 00:55:11 GMT

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

Sergey Shelukhin commented on HIVE-12302:
-----------------------------------------

also, why did some unrelated code get removed?

> Use KryoPool instead of thread-local caching
> --------------------------------------------
>
>                 Key: HIVE-12302
>                 URL: https://issues.apache.org/jira/browse/HIVE-12302
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>              Labels: Serializer
>         Attachments: HIVE-12302.1.patch
>
>
> Kryo 3.x introduces a Pooling mechanism for Kryo
> https://github.com/EsotericSoftware/kryo#pooling-kryo-instances
> {code}
> // Build pool with SoftReferences enabled (optional)
> KryoPool pool = new KryoPool.Builder(factory).softReferences().build();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message