[
https://issues.apache.org/jira/browse/HIVE-18920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779542#comment-16779542
]
Jesus Camacho Rodriguez commented on HIVE-18920:
------------------------------------------------
[~ashutoshc], [~gopalv], I believe that would happen if we have at least one
materialized view in the system. However, that may not always be the case. I am
working on it right now.
> 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
>
> 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)