You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2016/12/07 00:52:59 UTC
[jira] [Comment Edited] (HIVE-15373) Transaction management isn't
thread-safe
[ https://issues.apache.org/jira/browse/HIVE-15373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15727243#comment-15727243 ]
Sergey Shelukhin edited comment on HIVE-15373 at 12/7/16 12:52 AM:
-------------------------------------------------------------------
It is used thru a threadlocal on a higher level, so all of these are effectively threadlocal. It would be nice to get rid of threadlocals, but that would be a much larger piece of work.
was (Author: sershe):
It is used as a threadlocal manner on a higher level, so all of these are effectively threadlocal. It would be nice to get rid of threadlocals, but that would be a much larger piece of work.
> Transaction management isn't thread-safe
> ----------------------------------------
>
> Key: HIVE-15373
> URL: https://issues.apache.org/jira/browse/HIVE-15373
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Alexander Kolbasov
>
> ObjectStore.java has several important calls which are not thread-safe:
> * openTransaction()
> * commitTransaction()
> * rollbackTransaction()
> These should be made thread-safe.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)