[ https://issues.apache.org/jira/browse/HIVE-22492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974139#comment-16974139 ]
Hive QA commented on HIVE-22492: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12985775/HIVE-22492.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 17702 tests executed *Failed tests:* {noformat} TestStatsReplicationScenariosACIDNoAutogather - did not produce a TEST-*.xml file (likely timed out) (batchId=256) org.apache.hadoop.hive.cli.TestContribCliDriver.testCliDriver[url_hook] (batchId=295) org.apache.hadoop.hive.metastore.TestHiveMetaStoreAlterColumnPar.org.apache.hadoop.hive.metastore.TestHiveMetaStoreAlterColumnPar (batchId=248) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryTransactionalTable (batchId=224) org.apache.hive.jdbc.TestSSL.testMetastoreConnectionWrongCertCN (batchId=284) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19417/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19417/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19417/ 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: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12985775 - PreCommit-HIVE-Build > Amortize lock contention due to LRFU accounting > ----------------------------------------------- > > Key: HIVE-22492 > URL: https://issues.apache.org/jira/browse/HIVE-22492 > Project: Hive > Issue Type: Improvement > Reporter: Slim Bouguerra > Assignee: Slim Bouguerra > Priority: Major > Attachments: HIVE-22492.patch, llap-lock-contention.svg > > > LRFU eviction policy can be a major source of contention under high load. > This can be see on the following profiles. > To fix this the idea is to use a batching wrapper to amortize the locking > contention. > The trick i a common way to amortize locking as explained here > http://www.ece.eng.wayne.edu/~sjiang/pubs/papers/ding-09-BP-Wrapper.pdf -- This message was sent by Atlassian Jira (v8.3.4#803005)