hive-issues mailing list archives

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

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

Prasanth Jayachandran commented on HIVE-12302:
----------------------------------------------

That was dead code suggested by IDE.

> 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: Prasanth Jayachandran
>              Labels: Serializer
>         Attachments: HIVE-12302.1.patch, HIVE-12302.2.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