mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yifan Gu" <>
Subject Re: Review Request 22526: WIP:Added resizeTask primitive.
Date Sat, 14 Jun 2014 10:57:24 GMT

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

(Updated June 14, 2014, 10:57 a.m.)

Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod


Added a test to test the result of successful scale-up/scale-down. 
TODO: Test the container's update message.

Bugs: MESOS-1279

Repository: mesos-git


Added resizeTask primitive.

This is just a proof of concept now. I will work on the unit test.
Currently I added one state called "TASK_RESIZE" in state update, so that the master/framework
can get the resize result from the slave.
I put the result in the 'data' field of the TaskStatus.

And I feel that I copy-pasted a lot of checkers, which is kind mess, I think they should be
put into a separate module later.

Any question or suggestion is highly welcome! Thanks!

Diffs (updated)

  include/mesos/mesos.proto 102289b 
  include/mesos/scheduler.hpp d224945 
  include/mesos/scheduler/scheduler.proto 6ab5089 
  src/common/protobuf_utils.hpp 12ff00a 
  src/master/master.hpp 7a12185 
  src/master/master.cpp 4a01b1a 
  src/messages/messages.proto 8aecc8b 
  src/sched/sched.cpp 6e14f1c 
  src/scheduler/scheduler.cpp 4ae188e 
  src/slave/slave.hpp 34687e5 
  src/slave/slave.cpp 643c088 
  src/tests/allocator_tests.cpp 7ad4964 
  src/tests/master_tests.cpp 34df121 



make check.


Yifan Gu

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