You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/04/23 19:07:15 UTC
[jira] [Created] (HIVE-6965) Transaction manager should use RDBMS
time instead of machine time
Alan Gates created HIVE-6965:
--------------------------------
Summary: Transaction manager should use RDBMS time instead of machine time
Key: HIVE-6965
URL: https://issues.apache.org/jira/browse/HIVE-6965
Project: Hive
Issue Type: Bug
Components: Locking
Affects Versions: 0.13.0
Reporter: Alan Gates
Assignee: Alan Gates
Current TxnHandler and CompactionTxnHandler use System.currentTimeMillis() when they need to determine the time (such as heartbeating transactions). In situations where there are multiple Thrift metastore services or users are using an embedded metastore this will lead to issues. We should instead be using time from the RDBMS, which is guaranteed to be the same for all users.
--
This message was sent by Atlassian JIRA
(v6.2#6252)