Hi,

I built mesos from the latest master branch.

Everything is fine, however, if the cgroups isolation flag is added, the
the python example will fail.
You can notice that the framework will never be shutdown.
Detailed log is here: https://bpaste.net/show/e236858fde30


To reproduce the problem,

first, due to cgroups here requries root priv, add the following code to
test_executor.py, otherwise the mesos python eggs cannot be extracted.

import os
os.setuid(os.geteuid())
# os.environ["HOME"] = "/home/YOUR_DIR"

and run

./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=your_work_dir

sudo ./bin/mesos-slave.sh --master=127.0.0.1:5050
--isolation="cgroups/cpu,cgroups/mem" --work_dir=your_work_dir

./src/examples/python/test-framework 127.0.0.1:5050


Regards.

Reply via email to