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 64373200B7F for ; Sun, 11 Sep 2016 17:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 62F75160AD7; Sun, 11 Sep 2016 15:06:22 +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 CCF37160AC7 for ; Sun, 11 Sep 2016 17:06:21 +0200 (CEST) Received: (qmail 18076 invoked by uid 500); 11 Sep 2016 15:06:20 -0000 Mailing-List: contact issues-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 issues@mesos.apache.org Received: (qmail 18055 invoked by uid 99); 11 Sep 2016 15:06:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 15:06:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C7ECF2C014D for ; Sun, 11 Sep 2016 15:06:20 +0000 (UTC) Date: Sun, 11 Sep 2016 15:06:20 +0000 (UTC) From: "Joerg Schad (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (MESOS-5070) Introduce more flexible subprocess interface for child options. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 11 Sep 2016 15:06:22 -0000 [ https://issues.apache.org/jira/browse/MESOS-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joerg Schad updated MESOS-5070: ------------------------------- Comment: was deleted (was: 1. Where do you want to rename Hook -> ParentHook? If you refer to Subprocess::Hook this is used for both ParentHooks and ChildHooks, so I see no reason to rename it. 2. Watchdog is a different concept than a ChildHook: A ChildHook is a function which is executed before the actual function, where the watchdog process is running during the entire lifetime of the process. [code] // Creates a seperate watchdog process to monitor the child process and // kill it in case the parent process dies. [code] I would be happy to rename it 'Supervisor', but in a different review :-).) > Introduce more flexible subprocess interface for child options. > --------------------------------------------------------------- > > Key: MESOS-5070 > URL: https://issues.apache.org/jira/browse/MESOS-5070 > Project: Mesos > Issue Type: Improvement > Reporter: Joerg Schad > Assignee: Joerg Schad > Labels: tech-debt > > We introduced a number of parameters to the subprocess interface with MESOS-5049. > Adding all options explicitly to the subprocess interface makes it inflexible. > We should investigate a flexible options, which still prevents arbitrary code to be executed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)