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

Ashutosh Chauhan commented on HIVE-18920:
-----------------------------------------

+1

> 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
>            Reporter: Gopal V
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-18920.01.patch, HIVE-18920.02.patch, 
> HIVE-18920.patch
>
>
> 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
(v7.6.3#76005)

Reply via email to