[ https://issues.apache.org/jira/browse/HIVE-6965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated HIVE-6965: ----------------------------- Resolution: Fixed Fix Version/s: 0.14.0 Status: Resolved (was: Patch Available) Failed tests fail for me on trunk and with the patch and are in completely unrelated code so I do not believe they are a result of this change. Patch checked in. Thanks Ashutosh for the review. > 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 > Fix For: 0.14.0 > > Attachments: HIVE-6965.patch, HIVE-6965.patch > > > 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)