[ 
https://issues.apache.org/jira/browse/MESOS-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Gummelt updated MESOS-3866:
-----------------------------------
    Description: 
It's set here: 
https://github.com/apache/mesos/blob/master/src/slave/containerizer/containerizer.cpp#L281

And passed to the docker executor here: 
https://github.com/apache/mesos/blob/master/src/slave/containerizer/docker.cpp#L844

This leaks the host path of the library into the docker image, which of course 
can't see it. This is breaking DCOS Spark, which runs in a docker image that 
has set its own value for MESOS_NATIVE_JAVA_LIBRARY.


  was:
It's set here: 
https://github.com/apache/mesos/blob/master/src/slave/containerizer/containerizer.cpp#L281

And passed to the docker executor here: 
https://github.com/apache/mesos/blob/master/src/slave/containerizer/docker.cpp#L844

This leaks the host path of the library into the docker image, which of course 
can't see it. This is breaking Spark, which runs in a docker image that has set 
its own value for MESOS_NATIVE_JAVA_LIBRARY.



> The docker containerizer sets MESOS_NATIVE_JAVA_LIBRARY in docker executors
> ---------------------------------------------------------------------------
>
>                 Key: MESOS-3866
>                 URL: https://issues.apache.org/jira/browse/MESOS-3866
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>    Affects Versions: 0.25.0
>            Reporter: Michael Gummelt
>
> It's set here: 
> https://github.com/apache/mesos/blob/master/src/slave/containerizer/containerizer.cpp#L281
> And passed to the docker executor here: 
> https://github.com/apache/mesos/blob/master/src/slave/containerizer/docker.cpp#L844
> This leaks the host path of the library into the docker image, which of 
> course can't see it. This is breaking DCOS Spark, which runs in a docker 
> image that has set its own value for MESOS_NATIVE_JAVA_LIBRARY.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to