mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhitao Li <zhitaoli...@gmail.com>
Subject Re: Review Request 62047: Allowed look up latest executor directory by virtual path.
Date Mon, 11 Sep 2017 23:17:57 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62047/
-----------------------------------------------------------

(Updated Sept. 11, 2017, 11:17 p.m.)


Review request for mesos, Benjamin Mahler and Jason Lai.


Bugs: MESOS-7899
    https://issues.apache.org/jira/browse/MESOS-7899


Repository: mesos


Description
-------

This patch added support to attach a virtual path
`/frameworks/{framework-id}/executors/{executor-id}/latest` to `Files` class
in agent, which can be used to navigate an executor's latest sandbox without
needing to know `work_dir` and `slave_id`.


Diffs (updated)
-----

  src/slave/paths.hpp 51b481fc0870f1e95448f85ee2fd485fceea1919 
  src/slave/paths.cpp 08177bcef63b998f691be6893ab35891098a2886 
  src/slave/slave.cpp 6d1516a5d5b5db684f79385e60d892ff75fd00fd 
  src/tests/slave_tests.cpp 1bdadce4c50cbff958f2be2a4261e130b414acfd 


Diff: https://reviews.apache.org/r/62047/diff/3/

Changes: https://reviews.apache.org/r/62047/diff/2-3/


Testing
-------

Ran a master/agent pair, launch a task with `mesos-execute` and use `files/browse` endpoint
to browse the virtual path.


Thanks,

Zhitao Li


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message