Re: Why task environment variables are set for executor/containerizer?

2017-01-18 Thread Tomek Janiszewski
Created issue: https://issues.apache.org/jira/browse/MESOS-6945

śr., 18 sty 2017 o 17:54 użytkownik Jie Yu  napisał:

> Can you create a ticket for that? I personally want to fix that for
> command executor.
>
> - Jie
>
> On Wed, Jan 18, 2017 at 5:52 PM, Jie Yu  wrote:
>
> Daniel,
>
> Yes, this is a tech debt in the old command executor. The new default
> executor does not have this issue.
>
> - Jie
>
> On Wed, Jan 18, 2017 at 5:49 PM, Daniel Krawczyk 
> wrote:
>
> Hi,
>
> When I set an environment variable for my task it is as well applied both
> to mesos-containerizer and mesos-executor.
> This may lead to problems, for example when loading dynamic libraries with
> LD_PRELOAD.
>
> Is setting task variables to executor/containerizer a bug?
>
> Cheers,
> Daniel
>
>
>
>


Re: Why task environment variables are set for executor/containerizer?

2017-01-18 Thread Jie Yu
Daniel,

Yes, this is a tech debt in the old command executor. The new default
executor does not have this issue.

- Jie

On Wed, Jan 18, 2017 at 5:49 PM, Daniel Krawczyk  wrote:

> Hi,
>
> When I set an environment variable for my task it is as well applied both
> to mesos-containerizer and mesos-executor.
> This may lead to problems, for example when loading dynamic libraries with
> LD_PRELOAD.
>
> Is setting task variables to executor/containerizer a bug?
>
> Cheers,
> Daniel
>
>


Re: Why task environment variables are set for executor/containerizer?

2017-01-18 Thread Jie Yu
Can you create a ticket for that? I personally want to fix that for command
executor.

- Jie

On Wed, Jan 18, 2017 at 5:52 PM, Jie Yu  wrote:

> Daniel,
>
> Yes, this is a tech debt in the old command executor. The new default
> executor does not have this issue.
>
> - Jie
>
> On Wed, Jan 18, 2017 at 5:49 PM, Daniel Krawczyk 
> wrote:
>
>> Hi,
>>
>> When I set an environment variable for my task it is as well applied both
>> to mesos-containerizer and mesos-executor.
>> This may lead to problems, for example when loading dynamic libraries
>> with LD_PRELOAD.
>>
>> Is setting task variables to executor/containerizer a bug?
>>
>> Cheers,
>> Daniel
>>
>>
>


Why task environment variables are set for executor/containerizer?

2017-01-18 Thread Daniel Krawczyk
Hi,

When I set an environment variable for my task it is as well applied both
to mesos-containerizer and mesos-executor.
This may lead to problems, for example when loading dynamic libraries with
LD_PRELOAD.

Is setting task variables to executor/containerizer a bug?

Cheers,
Daniel