spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Cheung (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-22870) Dynamic allocation should allow 0 idle time
Date Fri, 22 Dec 2017 17:27:00 GMT

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

Felix Cheung commented on SPARK-22870:
--------------------------------------

+1
yes there is more than the check for the value 0 as the clean up is not currently synchronous.

> Dynamic allocation should allow 0 idle time
> -------------------------------------------
>
>                 Key: SPARK-22870
>                 URL: https://issues.apache.org/jira/browse/SPARK-22870
>             Project: Spark
>          Issue Type: Improvement
>          Components: Scheduler
>    Affects Versions: 1.6.0
>            Reporter: Xuefu Zhang
>            Priority: Minor
>
> As discussed in SPARK-22765, with SPARK-21656, an executor will not idle out when there
are pending tasks to run. When there is no task to run, an executor will die out after {{spark.dynamicAllocation.executorIdleTimeout}},
which is currently required to be greater than zero. However, for efficiency, a user should
be able to specify that an executor can die out immediately w/o being required to be idle
for at least 1s.
> This is to make {{0}} a valid value for {{spark.dynamicAllocation.executorIdleTimeout}},
and special handling such a case might be needed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message