You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Igor Kryvenko (JIRA)" <ji...@apache.org> on 2018/06/07 19:07:00 UTC

[jira] [Comment Edited] (HIVE-17683) Annotate Query Plan with locking information

    [ https://issues.apache.org/jira/browse/HIVE-17683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505119#comment-16505119 ] 

Igor Kryvenko edited comment on HIVE-17683 at 6/7/18 7:06 PM:
--------------------------------------------------------------

{code}
[ERROR] /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11593/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java:[521,22] cannot find symbol
  symbol:   method setLock(org.apache.hadoop.hive.metastore.api.LockType)
  location: variable compBuilder of type org.apache.hadoop.hive.metastore.LockComponentBuilder
 {code}
It can't find added method.
Is the last patch good for you?
 


was (Author: ikryvenko):
{code}
[ERROR] /data/hiveptest/working/yetus_PreCommit-HIVE-Build-11593/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java:[521,22] cannot find symbol
  symbol:   method setLock(org.apache.hadoop.hive.metastore.api.LockType)
  location: variable compBuilder of type org.apache.hadoop.hive.metastore.LockComponentBuilder
 {code}
It can't find added method.
 

> Annotate Query Plan with locking information
> --------------------------------------------
>
>                 Key: HIVE-17683
>                 URL: https://issues.apache.org/jira/browse/HIVE-17683
>             Project: Hive
>          Issue Type: New Feature
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Igor Kryvenko
>            Priority: Critical
>         Attachments: HIVE-17683.01.patch, HIVE-17683.02.patch
>
>
> Explore if it's possible to add info about what locks will be asked for to the query plan.
> Lock acquisition (for Acid Lock Manager) is done in DbTxnManager.acquireLocks() which is called once the query starts running.  Would need to refactor that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)