hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17629) CachedStore - wait for prewarm at use time, not init time
Date Fri, 29 Sep 2017 23:56:00 GMT

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

Sergey Shelukhin commented on HIVE-17629:
-----------------------------------------

[~thejas] can you take a look? most of the changes are trivial, due to static changing to
non-static. The patch basically adds lifecycle management for shared cache, and uses it to
move prewarm to background thread, waiting for prewarm to happen at use time not setConf,
and to make init optional (if not called, CachedStore would proxy the methods to rawStore,
like it currently does in the ones not implemented).
It also fixes one method that was unfinished and returned an incorrect result (get count by
filter, doubt anything actually uses that).

> CachedStore - wait for prewarm at use time, not init time
> ---------------------------------------------------------
>
>                 Key: HIVE-17629
>                 URL: https://issues.apache.org/jira/browse/HIVE-17629
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-17629.patch
>
>




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

Mime
View raw message