You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Tao Li (JIRA)" <ji...@apache.org> on 2017/08/11 18:39:00 UTC

[jira] [Created] (HIVE-17301) Make JSONMessageFactory.getTObj method thread safe

Tao Li created HIVE-17301:
-----------------------------

             Summary: Make JSONMessageFactory.getTObj method thread safe
                 Key: HIVE-17301
                 URL: https://issues.apache.org/jira/browse/HIVE-17301
             Project: Hive
          Issue Type: Bug
            Reporter: Tao Li


This static method is using a singleton instance of TDeserializer, which is not thread safe. Instead we want to create a new instance per method call. This class is lightweight, so it should be fine from perf perspective. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)