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 32C2B200B96 for ; Wed, 21 Sep 2016 18:25:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3148D160ABC; Wed, 21 Sep 2016 16:25: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 98D81160ADE for ; Wed, 21 Sep 2016 18:25:21 +0200 (CEST) Received: (qmail 79385 invoked by uid 500); 21 Sep 2016 16:25: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 79374 invoked by uid 99); 21 Sep 2016 16:25:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 16:25:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 951182C2A5F for ; Wed, 21 Sep 2016 16:25:20 +0000 (UTC) Date: Wed, 21 Sep 2016 16:25:20 +0000 (UTC) From: "Joerg Schad (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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: Wed, 21 Sep 2016 16:25:22 -0000 [ https://issues.apache.org/jira/browse/MESOS-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510435#comment-15510435 ] Joerg Schad commented on MESOS-5070: ------------------------------------ The current state is that they only work on linux (windows also ignores the explicit options right now and as you pointed out does not care about parentHooks). If we are are talking about adding windows support in the future childHooks have one advantage over parentHooks in my opinion: While parentHooks can be arbitrary functions, childHooks are constrained (via the factory methods) to a small set of predefined hooks -to which we could add some form of id and enable windows to implement its own version of it-. Maybe [~jieyu] can add more details here. > 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)