Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 163B3183C1 for ; Wed, 4 Nov 2015 03:34:28 +0000 (UTC) Received: (qmail 36126 invoked by uid 500); 4 Nov 2015 03:34:28 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 36085 invoked by uid 500); 4 Nov 2015 03:34:27 -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 36074 invoked by uid 99); 4 Nov 2015 03:34:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 03:34:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B14232C1F5F for ; Wed, 4 Nov 2015 03:34:27 +0000 (UTC) Date: Wed, 4 Nov 2015 03:34:27 +0000 (UTC) From: "Stephen Degler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-3787) As a developer, I'd like to be able to expand environment variables through the Docker executor. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988821#comment-14988821 ] Stephen Degler commented on MESOS-3787: --------------------------------------- My horrible hack :-) "volumes": [ { "containerPath": "/${KRB5CCNAME}", "hostPath": "/${KRB5CCNAME}", "mode": "RO" } ] So the nice thing about our patch was that substitutions were done earlier. its wrong because we probably leak memory as we didn't want to change the mutability of taskInfo. Your patch is much smaller, but then the subsequent logic examines the arguments prior to expansion and goofs up the paths at least. > As a developer, I'd like to be able to expand environment variables through the Docker executor. > ------------------------------------------------------------------------------------------------ > > Key: MESOS-3787 > URL: https://issues.apache.org/jira/browse/MESOS-3787 > Project: Mesos > Issue Type: Wish > Reporter: John Garcia > Labels: mesosphere > Attachments: mesos.patch, test-example.json > > > We'd like to have expanded variables usable in [the json files used to create a Marathon app, hence] the Task's CommandInfo, so that the executor is able to detect the correct values at runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)