Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8AFEC200D6E for ; Fri, 22 Dec 2017 18:27:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 89864160C0A; Fri, 22 Dec 2017 17:27:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D25A9160C1A for ; Fri, 22 Dec 2017 18:27:03 +0100 (CET) Received: (qmail 39153 invoked by uid 500); 22 Dec 2017 17:27:03 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 39143 invoked by uid 99); 22 Dec 2017 17:27:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2017 17:27:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9E32D180A33 for ; Fri, 22 Dec 2017 17:27:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id gUmrq_SJEEJy for ; Fri, 22 Dec 2017 17:27:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3BC715F470 for ; Fri, 22 Dec 2017 17:27:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7738BE0248 for ; Fri, 22 Dec 2017 17:27:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3301D212F7 for ; Fri, 22 Dec 2017 17:27:00 +0000 (UTC) Date: Fri, 22 Dec 2017 17:27:00 +0000 (UTC) From: "Felix Cheung (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-22870) Dynamic allocation should allow 0 idle time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Dec 2017 17:27:04 -0000 [ 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