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

Xuefu Zhang commented on HIVE-12951:
------------------------------------

Prawarming containers tends to help queries that run for a longer time and have 
multiple stages. It doesn't help and may have adverse impact if your query is 
small or has only map stage. The important thing for you is to have a 
configuration that works for most of your use case.

As to your webservice, you might want to consider pooling a list of HS2 
sessions instead of creating a new one each time a request comes.

> Reduce Spark executor prewarm timeout to 5s
> -------------------------------------------
>
>                 Key: HIVE-12951
>                 URL: https://issues.apache.org/jira/browse/HIVE-12951
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 1.2.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 2.1.0
>
>         Attachments: HIVE-12951.patch, HIVE-12951.patch
>
>
> Currently it's set to 30s, which tends to be longer than needed. Reduce it to 
> 5s, only considering jvm startup time. (Eventually, we may want to make this 
> configurable.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to