mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yifan Gu" <yi...@mesosphere.io>
Subject Re: Review Request 22223: MESOS-1312: Added orphan_tasks and unknown_frameworks in state.json
Date Thu, 05 Jun 2014 00:17:39 GMT

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

(Updated June 5, 2014, 12:17 a.m.)


Review request for mesos, Adam B, Niklas Nielsen, Ross Allen, and Vinod Kone.


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


Repository: mesos-git


Description
-------

Added orphan_tasks and unknown_frameworks in state.json to display tasks that are currently
running on the slaves,
but do not belong to any already (re-)registered frameworks.


Diffs (updated)
-----

  src/master/http.cpp b565dc6 
  src/tests/master_tests.cpp 34df121 
  src/tests/slave_tests.cpp 479c0c1 

Diff: https://reviews.apache.org/r/22223/diff/


Testing
-------

Added MasterTest.OrphanTasks to test:
1, Before the framework re-registers with the master:
  Tasks that belongs to that frameworks will appear in the ["orphan_tasks"] field.
  That frameworks will appear in the ["not_yet_reregistered_frameworks"] field.
2, After the framework re-registers with the master:
  There will be no more orphan tasks and not-yet-reregistered frameworks.


Thanks,

Yifan Gu


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