Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D577210F3E for ; Mon, 6 Jan 2014 05:41:59 +0000 (UTC) Received: (qmail 65825 invoked by uid 500); 6 Jan 2014 05:41:47 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 65726 invoked by uid 500); 6 Jan 2014 05:41:37 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 65718 invoked by uid 99); 6 Jan 2014 05:41:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 05:41:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [202.38.128.6] (HELO ihep.ac.cn) (202.38.128.6) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 05:41:28 +0000 Received: by ajax-webmail-ihep (Coremail) ; Mon, 6 Jan 2014 13:41:06 +0800 (GMT+08:00) Date: Mon, 6 Jan 2014 13:41:06 +0800 (GMT+08:00) From: "HUO Jing" To: mesos Message-ID: <4607f055.39fcb.143661199d4.Coremail.huojing@ihep.ac.cn> Subject: Question about Executor MIME-Version: 1.0 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.32.21] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT2.1.9 build 20121203(20875.5107.5063) Copyright (c) 2002-2014 www.mailtech.cn ihep X-SendMailWithSms: false X-CM-TRANSID: AQAAf0BJ20LyQcpSFxxgAA--.19965W X-CM-SenderInfo: xkxryxlqj6xx1hsotugofq/1tbiAQQQDFDmq2EbkQAAsv X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW5Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to develop a framework scheduler and executor to add Torque to Mesos. Now, I have a problem. As I know, Mesos uses linux container to isolate resources, so pbs_mom has to be started in executor. But when there is no task running in the executor, mesos slave will shut down the executor, then the pbs_mom will be shutted down too. If pbs_mom is not running, pbs_server cannot assign job to it. So, I want to know , is there a way to keep the executor running all the time? And, is there a way to start executor even there is no task for it to run ? Thank you very much! Best Wishes! Huojing