hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-23067) Use batch DB calls in TxnHandler for commitTxn and abortTxns
Date Wed, 01 Apr 2020 08:59:00 GMT

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

Hive QA commented on HIVE-23067:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12998333/HIVE-23067.2.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 18163 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[topnkey_grouping_sets] (batchId=1)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/21366/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21366/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21366/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12998333 - PreCommit-HIVE-Build

> Use batch DB calls in TxnHandler for commitTxn and abortTxns
> ------------------------------------------------------------
>
>                 Key: HIVE-23067
>                 URL: https://issues.apache.org/jira/browse/HIVE-23067
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Marton Bod
>            Assignee: Marton Bod
>            Priority: Major
>         Attachments: HIVE-23067.1.patch, HIVE-23067.1.patch, HIVE-23067.1.patch, HIVE-23067.1.patch,
HIVE-23067.2.patch
>
>
> To reduce the number of database calls and network roundtrips, we could use more batching
in TxnHandler, where currently in many places we call insert commands in loops sequentially.
> Some examples:
>  * openTxns (TXNS, REPL_TXN_MAP)
>  * commitTxn (COMPLETED_TXN_COMPONENTS)
>  * replTableWriteIdState (TXN_TO_WRITE_ID)
>  * allocateTableWriteIds (TXN_TO_WRITE_ID)
>  * ....
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message