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

Hive QA commented on HIVE-21697:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 13 failed/errored test(s), 15984 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testAlterDatabase 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testAlterTable 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testCacheUpdate 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testCreateAndGetTable 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testDropDatabase 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testDropTable 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStore.testPrewarmBlackList 
(batchId=232)
org.apache.hadoop.hive.metastore.cache.TestCachedStoreUpdateUsingEvents.testAggrStat
 (batchId=242)
org.apache.hadoop.hive.metastore.cache.TestCachedStoreUpdateUsingEvents.testAggrStatAbortTxn
 (batchId=242)
org.apache.hadoop.hive.metastore.cache.TestCachedStoreUpdateUsingEvents.testAggrStatTxnTable
 (batchId=242)
org.apache.hadoop.hive.metastore.cache.TestCachedStoreUpdateUsingEvents.testTableColumnStatisticsTxnTableMultiAbort
 (batchId=242)
org.apache.hadoop.hive.metastore.cache.TestCachedStoreUpdateUsingEvents.testTableColumnStatisticsTxnTableOpenTxn
 (batchId=242)
org.apache.hadoop.hive.metastore.cache.TestCachedStoreUpdateUsingEvents.testTableOpsForUpdateUsingEvents
 (batchId=242)
{noformat}

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

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: 13 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12968164 - PreCommit-HIVE-Build

> Remove periodical full refresh in HMS cache
> -------------------------------------------
>
>                 Key: HIVE-21697
>                 URL: https://issues.apache.org/jira/browse/HIVE-21697
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Major
>         Attachments: HIVE-21697.1.patch, HIVE-21697.2.patch
>
>
> In HIVE-18661, we added periodical notification based refresh in HMS cache. 
> We shall remove periodical full refresh to simplify the code as it will no 
> longer be used. In the mean time, we introduced mechanism to provide 
> monotonic reads through the CachedStore.commitTransaction. This will no 
> longer be needed after HIVE-21637. So I will remove related code as well. 
> This will provide some performance benefits include:
> 1. We don't have to slow down write to catch up notification logs. Write can 
> be done immediately and tag the cache with writeids
> 2. We can read from cache even if updateUsingNotificationEvents is running. 
> Read will compare the writeids of the cache so monotonic reads will be 
> guaranteed
> I'd like to put a patch separately with HIVE-21637 so it can be tested 
> independently. HMW will use periodical notification based refresh to update 
> cache. And it will temporarily lift the monotonic reads guarantee until 
> HIVE-21637 checkin.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to