You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rui Li (JIRA)" <ji...@apache.org> on 2016/01/28 03:04:39 UTC

[jira] [Commented] (HIVE-12951) Reduce Spark executor prewarm timeout to 5s

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

Rui Li commented on HIVE-12951:
-------------------------------

Hi [~xuefuz], Spark has configurations {{spark.scheduler.minRegisteredResourcesRatio}} and {{spark.scheduler.maxRegisteredResourcesWaitingTime}}, which I think serve the purpose of pre-warm. I suppose we do this on hive side because we use the number of executors to set the number of reducers?

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