You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Fabian Lange (JIRA)" <ji...@apache.org> on 2014/05/27 14:12:01 UTC

[jira] [Created] (STORM-333) Kyro Serializers not threadsafe

Fabian Lange created STORM-333:
----------------------------------

             Summary: Kyro Serializers not threadsafe
                 Key: STORM-333
                 URL: https://issues.apache.org/jira/browse/STORM-333
             Project: Apache Storm (Incubating)
          Issue Type: Bug
            Reporter: Fabian Lange


I am troubleshooting a customer problem, so please forgive me if I don't know an important implementation detail, but from the looks of it 
backtype.storm.serialization.KryoValuesSerializer
and relatives are not threadsafe.

SerializableSerializer is, and can be used by many threads at the same time. 

The others are not, because they share buffers as internal state and are not synchronized.

I can put together a PR on github if you could confirm that this is a bug and not intended.



--
This message was sent by Atlassian JIRA
(v6.2#6252)