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

Thejas M Nair commented on HIVE-17495:
--------------------------------------

[~sershe]
The current cache implementation guarantees consistency when your queries go 
through a single HS2/metastore. Once we make the changes to update the cache 
based on events, we will be in a better position to provide stronger 
consistency guarantees while doing the pre-warm in background. That is a piece 
of work that would be looked into very soon.

bq. Can you change the prewarm to be explicitly triggered at least? So it 
doesn't trigger from tools and such. That would be a small change.
prewarm is always started on HS2(with embedded metastore) or standalone 
metastore startup. So it isn't actually triggered from these tools.

> CachedStore: prewarm improvement (avoid multiple sql calls to read partition 
> column stats), refactoring and caching some aggregate stats
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-17495
>                 URL: https://issues.apache.org/jira/browse/HIVE-17495
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-17495.1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to