[
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)