hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Phillips (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15773) HCatRecordObjectInspectorFactory is not thread safe
Date Sun, 27 Jan 2019 00:13:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Phillips updated HIVE-15773:
----------------------------------
    Status: Open  (was: Patch Available)

> HCatRecordObjectInspectorFactory is not thread safe
> ---------------------------------------------------
>
>                 Key: HIVE-15773
>                 URL: https://issues.apache.org/jira/browse/HIVE-15773
>             Project: Hive
>          Issue Type: Bug
>            Reporter: David Phillips
>            Priority: Major
>         Attachments: HIVE-15773.2.patch, HIVE-15773.patch
>
>
> {{HashMap}} used without synchronization for the caches, which makes the code unsafe
for use in a multi-threaded environment such as Presto (or Spark?). The simple fix is to switch
them to {{ConcurrentHashMap}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message