Have a look at mesos.cli:

https://pypi.python.org/pypi/mesos.cli/0.1.3

you can easily do

mesos tail {task id}

and access log file on any slave machine or connect to machine where is
given task running.


On 13 January 2015 at 22:48, David Greenberg <[email protected]> wrote:

> I was trying to figure out how to programmatically access a task's stdout
> & stderr, and I don't fully understand how the URL is constructed. It seems
> to be of the form http://
> $slave_url:5050/read.json?$work_dir/work/slaves/$slave_id/frameworks/$framework_id/executors/$executor_id/runs/$something
>
> What is the $something? Is there an easier way, given just the task_id, to
> find where the output is?
>
> Thanks,
> David
>

Reply via email to