hive-dev mailing list archives

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

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

Xuefu Zhang commented on HIVE-9243:
-----------------------------------

Sounds good to me. We might come back to the synchronization issue later, but for now, it
seems okay.

> 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
>
>
> 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