We are trying to retrieve the stdout and stderr files from an executor
programmatically.

It appears that these are available via HTTP request, however, constructing
the correct URL is posing to be a challenge.

Our scenario is:

1. Use mesos-execute to submit a job. A framework ID is available at this
point.
2. Using the framework ID, one can inquire with mesos-state to determine
which slave ID is executing the task.
3. Using the slave ID, one can inquire with mesos-state to find the
hostname for that slave ID
4. HTTP can be used to ask the /browse/ endpoint for a file, however, there
is an Executor ID which we cannot programmatically determine, to complete
this URL.

Please advise the simplest option for retrieving the sandbox files given
the scenario starts with mesos-execute commands.

Thanks!
June Taylor
System Administrator, Minnesota Population Center
University of Minnesota

Reply via email to