You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2018/02/08 17:52:00 UTC

[jira] [Commented] (MESOS-5866) MESOS_DIRECTORY set to a host path when using a docker image w/ unified containerizer

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

Jie Yu commented on MESOS-5866:
-------------------------------

MESOS_SANDBOX should be the one you use. MESOS_DIRECTORY is deprecated. CLosing this one. It's documented already.

> MESOS_DIRECTORY set to a host path when using a docker image w/ unified containerizer
> -------------------------------------------------------------------------------------
>
>                 Key: MESOS-5866
>                 URL: https://issues.apache.org/jira/browse/MESOS-5866
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>    Affects Versions: 0.28.2
>            Reporter: Michael Gummelt
>            Priority: Major
>
> Running Spark with the unified containerizer, it fails with:
> {code}
> 16/07/19 21:03:09 INFO DAGScheduler: ResultStage 0 (reduce at SparkPi.scala:36) failed in Unknown s due to Job aborted due to stage failure: Task serialization failed: java.io.IOException: Failed to create local dir in /var/lib/mesos/slave/slaves/003ebcc2-64e2-488f-87b9-f6fa7630c01b-S0/frameworks/003ebcc2-64e2-488f-87b9-f6fa7630c01b-0001/executors/driver-20160719210109-0002/runs/8f21b32e-b929-4369-bce9-9f49a3a8844f/blockmgr-e3a611d4-e0de-48cb-b17a-1e41d97e84c2/11.
> {code}
> This is because MESOS_DIRECTORY is set to /var/lib/mesos/...., which is a host path.  The container can't see the host path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)