[
https://issues.apache.org/jira/browse/HIVE-23067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071085#comment-17071085
]
Hive QA commented on HIVE-23067:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12998199/HIVE-23067.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 47 failed/errored test(s), 18141 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testAlterPartition
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testAlterTable
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testAlterTableCascade
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testAlterViewParititon
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testColumnStatistics
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testComplexTable
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testComplexTypeApi
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testConcurrentMetastores
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testCreateAndGetTableWithDriver
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testCreateTableSettingId
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDBLocationChange
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDBOwner
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDBOwnerChange
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDatabase
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDatabaseLocation
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDatabaseLocationWithPermissionProblems
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDropDatabaseCascadeMVMultiDB
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDropTable
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testFilterLastPartition
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testFilterSinglePartition
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testFunctionWithResources
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testGetConfigValue
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testGetMetastoreUuid
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testGetPartitionsWithSpec
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testGetSchemaWithNoClassDefFoundError
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testGetTableObjects
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testGetUUIDInParallel
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testJDOPersistanceManagerCleanup
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testListPartitionNames
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testListPartitions
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testListPartitionsWihtLimitEnabled
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testNameMethods
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testPartition
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testPartitionFilter
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testPartitionFilterLike
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testRenamePartition
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testRetriableClientWithConnLifetime
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testSimpleFunction
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testSimpleTable
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testSimpleTypeApi
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testStatsFastTrivial
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testSynchronized
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testTableDatabase
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testTableFilter
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testUpdatePartitionStat_doesNotUpdateStats
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testValidateTableCols
(batchId=231)
org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testVersion
(batchId=231)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/21336/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21336/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21336/
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: 47 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12998199 - 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
>
>
> 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)