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 E6CE9200BCF for ; Mon, 5 Dec 2016 10:20:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E56C5160B27; Mon, 5 Dec 2016 09:20:59 +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 6049E160AF9 for ; Mon, 5 Dec 2016 10:20:59 +0100 (CET) Received: (qmail 52923 invoked by uid 500); 5 Dec 2016 09:20:58 -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 52902 invoked by uid 99); 5 Dec 2016 09:20:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2016 09:20:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6AE452C1F54 for ; Mon, 5 Dec 2016 09:20:58 +0000 (UTC) Date: Mon, 5 Dec 2016 09:20:58 +0000 (UTC) From: "Alexander Rukletsov (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-6494) Clean up the flags parsing in the executors. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 05 Dec 2016 09:21:00 -0000 [ https://issues.apache.org/jira/browse/MESOS-6494?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Rukletsov updated MESOS-6494: --------------------------------------- Sprint: Mesosphere Sprint 46 (was: Mesosphere Sprint 46, Mesosphere Sp= rint 47) > Clean up the flags parsing in the executors. > -------------------------------------------- > > Key: MESOS-6494 > URL: https://issues.apache.org/jira/browse/MESOS-6494 > Project: Mesos > Issue Type: Improvement > Reporter: Gast=C3=B3n Kleiman > Assignee: Gast=C3=B3n Kleiman > Labels: mesosphere > > The current executors and the executor libraries use a mix of `stout::fla= gs` and `os::getenv` to parse flags, leading to a lot of unnecessary and so= metimes duplicated code. > This should be cleaned up, using only {{stout::flags}} to parse flags. > Environment variables should be used for the flags that are common to ALL= the executors (listed in the Executor HTTP API doc). > Command line parameters should be used for flags that apply only to indiv= idual executors. -- This message was sent by Atlassian JIRA (v6.3.4#6332)