[
https://issues.apache.org/jira/browse/DIRECTMEMORY-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703091#comment-13703091
]
Tommaso Teofili commented on DIRECTMEMORY-129:
----------------------------------------------
I think the suggested fix makes sense, I experience this issue myself too when
trying to use DM to store graph vertices in Apache Hama (see HAMA-732), whose
usage scenario is highly concurrent.
> Kryo serializer usage is not thread safe
> ----------------------------------------
>
> Key: DIRECTMEMORY-129
> URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-129
> Project: Apache DirectMemory
> Issue Type: Bug
> Components: Serializers
> Affects Versions: 0.1-incubating
> Reporter: Chetan Mehrotra
> Priority: Minor
>
> KryoSerializer uses a instance level Kryo object which is accessed
> concurrently. As per Kryo 2.x docs [1] the Kryo object is not threadsafe. As
> a fix one should use a pool of Kryo instances
> [1] https://code.google.com/p/kryo/#Threading
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira