hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-17301) Make JSONMessageFactory.getTObj method thread safe
Date Fri, 11 Aug 2017 18:39:00 GMT
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)

Mime
View raw message