You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/08 10:36:00 UTC
[jira] [Updated] (HIVE-23805) ValidReadTxnList need not be
constructed multiple times in AcidUtils::getAcidState
[ https://issues.apache.org/jira/browse/HIVE-23805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-23805:
----------------------------------
Labels: pull-request-available (was: )
> ValidReadTxnList need not be constructed multiple times in AcidUtils::getAcidState
> -----------------------------------------------------------------------------------
>
> Key: HIVE-23805
> URL: https://issues.apache.org/jira/browse/HIVE-23805
> Project: Hive
> Issue Type: Improvement
> Reporter: Rajesh Balamohan
> Assignee: Peter Varga
> Priority: Major
> Labels: pull-request-available
> Attachments: Screenshot 2020-07-06 at 4.53.44 PM.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java#L1273]
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java#L1286]
>
> {code:java}
> String s = conf.get(ValidTxnList.VALID_TXNS_KEY);
>
>
> if(!Strings.isNullOrEmpty(s)) {
>
> ...
> ...
> validTxnList.readFromString(s);
>
>
> } {code}
>
>
> !Screenshot 2020-07-06 at 4.53.44 PM.png|width=610,height=621!
> AM spends good amount of CPU parsing the same validtxnlist multiple times.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)