[
https://issues.apache.org/jira/browse/HIVE-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263653#comment-14263653
]
Brock Noland edited comment on HIVE-9243 at 1/3/15 10:13 PM:
-------------------------------------------------------------
This patch also cleans up the class by making the members private and using
accessors.
FYI [~xuefuz] - once committed to trunk I will merge again to spark to ensure
we have the latest trunk starting next week.
was (Author: brocknoland):
This patch also cleans up the class by making the members private and using
accessors.
FYI [~xuefuz]
> 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
>
>
> 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)