hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6965) Transaction manager should use RDBMS time instead of machine time
Date Wed, 23 Apr 2014 17:07:15 GMT
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)

Mime
View raw message