hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9243) Static Map in IOContext is not thread safe
Date Mon, 05 Jan 2015 04:51:34 GMT

    [ https://issues.apache.org/jira/browse/HIVE-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264179#comment-14264179
] 

Brock Noland commented on HIVE-9243:
------------------------------------

Latest patch does the cleanup and adds comments about which engines use which data structures.

> Static Map in IOContext is not thread safe
> ------------------------------------------
>
>                 Key: HIVE-9243
>                 URL: https://issues.apache.org/jira/browse/HIVE-9243
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: HIVE-9243.patch, HIVE-9243.patch, HIVE-9243.patch
>
>
> This map can be accessed by multiple threads. We can either map it a {{ConcurrentHashMap}}
or synchronize the calls to this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message