mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Mazumdar" <>
Subject Review Request 38875: Moved the framework/executor exists check before Subscribe call in Agent
Date Wed, 30 Sep 2015 03:39:45 GMT

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

Review request for mesos, Ben Mahler, Isabel Jimenez, and Vinod Kone.

Bugs: MESOS-3515

Repository: mesos


Refactored the `api/v1/executor` endpoint to do executor/framework exists(`NULL`) checks before
`Subscribe` since the slave explicitly knows the `frameworkID/executorID` when it launches
it. Also modified tests to first spawn a dummy `cat` process and then make a `Subscribe` call
to ensure that the Agent knows about the Framework/Executor and not reject it via `BadRequest`
due to the `NULL` checks.


  src/slave/http.cpp f9cf7bbe81b7fe9637de9a8d66329c16a7e1a89b 
  src/tests/executor_http_api_tests.cpp 31938c295367686d444f8a8aa2c43d2696b481ec 



make check


Anand Mazumdar

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