You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2017/09/28 01:57:00 UTC

[jira] [Updated] (HIVE-17629) CachedStore - wait for prewarm at use time, not init time

     [ https://issues.apache.org/jira/browse/HIVE-17629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HIVE-17629:
------------------------------------
    Attachment: HIVE-17629.patch

Preliminary patch, need to add config check (need to run now), probably some tests will fail.
This moves wait on usage side, so the init is not blocked and if you don't use specific methods you never wait.
Also initializes in HS2 (need to also add to standalone metastore), and prewarm is moved to background thread.

Also cleaned up a little bit - some stuff that's shared was not static even though shared state is all static, etc.

> 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)