Greetings,

We are using mesos-execute and passing an argument that contains a Unix
filepath, as follows:

*mesos-execute --master=cluster.example.com:5050
<http://cluster.example.com:5050> --name=test-program
--command=/home/john/anaconda3/bin/python /home/john/mesos/error_msg.py
read --resources=cpus:1;mem:128 --env={"MY_FILEPATH":
"/home/john/temp_output/test.csv"}*

The slashes in the file path are then apparently escaped by mesos-execute
and therefore fail to be useful once picked up by the executor:

*FileNotFoundError: [Errno 2] No such file or directory:
'"\\/home\\/john\\/temp_output\\/test.csv"'*

*I0629 10:13:13.814870 14025 exec.cpp:390] Executor asked to shutdown*

Are other people experiencing this? What is the method to avoid it?
Thanks,
June Taylor
System Administrator, Minnesota Population Center
University of Minnesota

Reply via email to