hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Kryvenko (JIRA)" <>
Subject [jira] [Commented] (HIVE-20459) add ThriftHiveMetastore.get_open_txns(long txnid)
Date Tue, 04 Sep 2018 20:04:01 GMT


Igor Kryvenko commented on HIVE-20459:

[~ekoifman] Hi Eugene. Could, you review my patch, please?

Thanks, Ihor.

> add ThriftHiveMetastore.get_open_txns(long txnid)
> -------------------------------------------------
>                 Key: HIVE-20459
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore, Transactions
>            Reporter: Eugene Koifman
>            Assignee: Igor Kryvenko
>            Priority: Minor
>         Attachments: HIVE-20459.01.patch, HIVE-20459.02.patch, HIVE-20459.03.patch
> we currently have {{ThriftHiveMetastore.get_open_txns()}} which maps to {{TxnHandler.getOpenTxns()}}.
 The usual usage is {{TxnUtils.createValidReadTxnList(GetOpenTxnsResponse txns, long currentTxn)}}
where the complete list transactions is obtained from Metastore and then anything above currentTxn
is thrown away.  
> Would be useful to add {{ThriftHiveMetastore.get_open_txns(long txnid)}} and {{TxnHandler.getOpenTxns(long)}}
to not retrieve things that will be thrown away.  Especially when there are a lot of running

This message was sent by Atlassian JIRA

View raw message