[ https://issues.apache.org/jira/browse/HIVE-12529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043580#comment-15043580 ]
Lefty Leverenz commented on HIVE-12529: --------------------------------------- Will this be committed to branch-2.0 for release 2.0.0 (as well as branch-1 for 1.3.0 and master for 2.1.0)? > HiveTxnManager.acquireLocks() should not block forever > ------------------------------------------------------ > > Key: HIVE-12529 > URL: https://issues.apache.org/jira/browse/HIVE-12529 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 1.0.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Labels: TODOC1.3 > Fix For: 1.3.0, 2.1.0 > > Attachments: HIVE-12529.2.patch, HIVE-12529.4.patch, > HIVE-12529.5.patch, HIVE-12529.patch > > > Currently, in DbTxnManager this method will block until all competing locks > have gone away. > This is not appropriate for all clients. There should be a way to specify a > max-wait-time. > It will throw an exception on timeout (given how current method signature is > written). -- This message was sent by Atlassian JIRA (v6.3.4#6332)