mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rukletsov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-7263) User supplied task environment variables cause warnings in sandbox stdout.
Date Fri, 24 Mar 2017 06:07:41 GMT

    [ https://issues.apache.org/jira/browse/MESOS-7263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939880#comment-15939880
] 

Alexander Rukletsov commented on MESOS-7263:
--------------------------------------------

{noformat}
Commit: 71a9feffd768d8857da34e2d6d06cd765403ccbc [71a9fef]
Author: Till Toenshoff <toenshoff@me.com>
Date: 24 March 2017 at 06:57:42 GMT+1
Committer: Alexander Rukletsov <alexr@apache.org>
Commit Date: 24 March 2017 at 07:05:25 GMT+1

Fixed environment duplication in command executor.

Review: https://reviews.apache.org/r/57762/
{noformat}

> User supplied task environment variables cause warnings in sandbox stdout.
> --------------------------------------------------------------------------
>
>                 Key: MESOS-7263
>                 URL: https://issues.apache.org/jira/browse/MESOS-7263
>             Project: Mesos
>          Issue Type: Bug
>          Components: agent, executor
>    Affects Versions: 1.2.0
>            Reporter: Till Toenshoff
>            Assignee: Till Toenshoff
>              Labels: mesosphere
>             Fix For: 1.3.0
>
>
> The default executor causes task/command environment variables to get duplicated internally,
causing warnings in the resulting sandbox {{stdout}}.
> {noformat}
> $ ./src/mesos-execute --name="test" --env='{"key1":"value1"}' --command='sleep 1000'
--master=127.0.0.1:5050
> {noformat}
> Result in {{stdout}} of the sandbox:
> {noformat}
> Overwriting environment variable 'key1', original: 'value1', new: 'value1'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message