mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Abecassis" <>
Subject Re: Review Request 38279: Enabled resources/attributes discovery
Date Mon, 14 Sep 2015 17:39:09 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 14, 2015, 10:39 a.m.)

Review request for mesos, Connor Doyle and Niklas Nielsen.

Summary (updated)

Enabled resources/attributes discovery

Bugs: MESOS-3366

Repository: mesos


First API draft for MESOS-3366.

1) Only supports resources for now, we can add another hook for attributes with a very similar
2) The callback currently receives the full SlaveInfo structure and construct a new Resources
3) If there is multiple callbacks, each callback will see the changes made by previous callbacks
and are free to override or merge the detected resources as they see fit.


  include/mesos/hook.hpp d90bacc 
  src/examples/test_hook_module.cpp bc13a8a 
  src/hook/manager.hpp 30d8321 
  src/hook/manager.cpp 754c238 
  src/slave/slave.cpp 5e5522e 



make clean && make && make check


Felix Abecassis

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