You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/23 08:10:00 UTC
[jira] [Updated] (HIVE-18920) CBO: Initialize the Janino providers
ahead of 1st query
[ https://issues.apache.org/jira/browse/HIVE-18920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-18920:
----------------------------------
Labels: pull-request-available (was: )
> CBO: Initialize the Janino providers ahead of 1st query
> -------------------------------------------------------
>
> Key: HIVE-18920
> URL: https://issues.apache.org/jira/browse/HIVE-18920
> Project: Hive
> Issue Type: Bug
> Components: CBO
> Reporter: Gopal Vijayaraghavan
> Assignee: Jesus Camacho Rodriguez
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-18920.01.patch, HIVE-18920.02.patch, HIVE-18920.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hive Calcite metadata providers are compiled when the 1st query comes in.
> If a second query arrives before the 1st one has built a metadata provider, it will also try to do the same thing, because the cache is not populated yet.
> With 1024 concurrent users, it takes 6 minutes for the 1st query to finish fighting all the other queries which are trying to load that cache.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)