Michael Gummelt created MESOS-5866:
--------------------------------------

             Summary: 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


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
(v6.3.4#6332)

Reply via email to