You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Michael Gummelt (JIRA)" <ji...@apache.org> on 2015/11/10 01:40:11 UTC
[jira] [Updated] (MESOS-3866) The docker containerizer sets
MESOS_NATIVE_JAVA_LIBRARY in docker executors
[ 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)