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

(Updated Sept. 16, 2016, 2:23 p.m.)


Review request for mesos, Anand Mazumdar, Artem Harutyunyan, and Kevin Klues.


Changes
-------

The framework didn't actually send the call to start any tasks!


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


Repository: mesos


Description
-------

This framework shows how one might handle inverse offers by launching
persistent sleep tasks and migrating them ahead of planned maintenance.


Diffs (updated)
-----

  3rdparty/libprocess/include/process/mime.hpp 
2b8351a5c24670f8849f517903dcb60c0db3654f 
  3rdparty/libprocess/src/encoder.hpp af083d196aa67d08f1b3299b0a15fbc7d1fd7cd5 
  3rdparty/libprocess/src/libevent_ssl_socket.cpp 
21f878ee81db32ad35878ec053c3f2de3637196c 
  3rdparty/libprocess/src/process.cpp 1e48fd5269d1a94c2217e8826af54b9b42ec4b23 
  3rdparty/libprocess/src/subprocess_posix.cpp 
19271414f145d23f50ac07570c48782819f382b4 
  3rdparty/libprocess/src/subprocess_windows.cpp 
20cad52d4a4d7fc51487e150a849972eb19ed08e 
  3rdparty/stout/include/stout/os.hpp cb53c02d3a611fcf1051f2f17ca1fbf36ef6b0f5 
  include/mesos/mesos.proto 06c2367ef2201be7b70e6015aa7c438893b73068 
  include/mesos/resources.hpp 7ba422d57d47777e058c682df9aa780557782423 
  include/mesos/type_utils.hpp 4f4f46e90e2b5341682c7b57f4f068e1e95136f3 
  include/mesos/v1/executor/executor.proto 
f661b71cecb96a9971c687f117625ef242749394 
  include/mesos/v1/mesos.proto 68b90bdf40cf5505bffd8044f034917d7992f71c 
  include/mesos/v1/resources.hpp add48c7baf8fabf5cc443d60a6c96d2902fc67de 
  site/source/layouts/basic.erb 7464e40b619e883daad93c72c3fbdbfbdda8f152 
  src/CMakeLists.txt 42c52b60cc850901f2eff1545cf7900f4a65ca81 
  src/Makefile.am 44fd8a216eb70d806f74b6f6acff69a2e55b7ede 
  src/authorizer/local/authorizer.cpp f1dff65d973fc84f4171f68fd0391a2343a96965 
  src/cli/execute.cpp c9f56af7f37d5b79b51f350d6c533714c170e889 
  src/common/command_utils.cpp 09e805140d95af817c314e38128215f3a8e5ab91 
  src/common/http.hpp c2398177c9e5af12c7a20c02e92d3f3036a7a39a 
  src/common/http.cpp 538330a4c780fbc2dfcdfb31537b0e75f368e3e0 
  src/common/resources.cpp aa4d6b5af9c24e90cefaa4f4c1ad593966eceb7c 
  src/common/type_utils.cpp 9cb6274231bc373e796dc8e91e9340025b57ad1e 
  src/docker/docker.cpp 49a1b2f7a4d7ef3e40bbfe43834ad9200a35740d 
  src/docker/executor.cpp ab3f0473fdc9105d1c425f0dbe7b81c566d541e8 
  src/examples/inverse_offer_framework.cpp PRE-CREATION 
  src/executor/executor.cpp a0e5d8382fa3886b747ae92507dce17e75c2d749 
  src/files/files.cpp 04b832799b9650eb6797711e8981040688810154 
  src/health-check/health_checker.cpp 8beb99cb5f2630c3a5a3821b665952f714f53545 
  src/launcher/default_executor.cpp f0feb95f7f07710bd0cea6f2ac87ef5b875f31ec 
  src/linux/capabilities.cpp abaf7218a449177369dcc3f55223b678e3112271 
  src/linux/fs.cpp 369a302e0f97daaa987df8d625cfe3c4808cdfc9 
  src/linux/perf.cpp 16a30eac9d346b14f2245128003866b9894bb94a 
  src/linux/systemd.hpp 5e2388a7937f24308ccc48bf35b5a11638a7987c 
  src/local/local.cpp 450e2c182975fc419b69944417a09a14812f4c57 
  src/master/allocator/mesos/hierarchical.cpp 
e866fd275a6c435eab6d09862bca46e9df6c4cc2 
  src/master/allocator/sorter/drf/metrics.cpp 
baede07c7303403e42f0d6e1ff8dae9ee1953069 
  src/master/contender/contender.cpp 3debf4730830eb48a97b404c14e34adb7e4c8f3d 
  src/master/contender/standalone.cpp f5b839212e3f3e767cc3c236ec181b58aff9b721 
  src/master/contender/zookeeper.cpp 1aa8f53fc9b0733ac3edb2b4288b7225fac25828 
  src/master/http.cpp 9005e7c308d5f57c6f5c573951d468a3ba730740 
  src/master/master.cpp b88472f6350d3f71e057bab34822423da5427151 
  src/master/validation.cpp aa743d730bebebc0353fa0a7a31f68bc94e7e25d 
  src/master/weights_handler.cpp c240fb2980a7e957136d11ddd3f43ee4761a07dc 
  src/slave/constants.hpp 2d8d49fcc939e38fee14abc0b1bd32b7775cb503 
  src/slave/containerizer/docker.hpp a378fa9772742b4934578efcec54aeeaf5791a83 
  src/slave/containerizer/docker.cpp a47e2ed88dcadb211c7f8c92eb4bada348d42780 
  src/slave/containerizer/mesos/containerizer.cpp 
dc18e4e3b0eca3f116f1e240217bbebf64a75e3a 
  src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp 
e87d055a44041735b62afd94aebcedf0f38a71bb 
  src/slave/containerizer/mesos/isolators/cgroups/cpushare.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/cpushare.cpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/devices.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/devices.cpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/mem.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/mem.cpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/net_cls.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/net_cls.cpp 
0a03990f581efa4ff2fc72bb0b7ee4a51a7fbe7e 
  src/slave/containerizer/mesos/isolators/cgroups/perf_event.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/perf_event.cpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/cgroups/subsystems/net_cls.cpp 
93539f1fc8265f66b62294c22f4eaba704b8b876 
  src/slave/containerizer/mesos/isolators/docker/volume/driver.cpp 
2b2c6cf2ba35b48e17a169e7a65380889c311266 
  src/slave/containerizer/mesos/isolators/network/cni/cni.cpp 
359479083894e887647a694a1a133dce44817073 
  src/slave/containerizer/mesos/isolators/xfs/disk.cpp 
dd4df86bf90bfa9cbf4664d89274cf3c64c2e374 
  src/slave/containerizer/mesos/isolators/xfs/utils.cpp 
b9d8e7dc999ba3064bee7105eff0f9553d825df8 
  src/slave/containerizer/mesos/launch.cpp 
fc51e04ec1572679e6a48ff4f0fa31ef2dfd6ec3 
  src/slave/containerizer/mesos/launcher.cpp 
73a0e5f50042b1249224a4a42e2442b7ea51dfff 
  src/slave/containerizer/mesos/provisioner/appc/cache.cpp 
20a7030d864bc463322140937b7ae3dbef7d77a0 
  src/slave/containerizer/mesos/provisioner/provisioner.cpp 
f37c45ccfa572876dfbba6a0797c223896db5a7f 
  src/slave/http.cpp 67463105d7fa38b2158a64f6994e3dd353a9fcc7 
  src/slave/paths.cpp eb414caae5847949854743d4e3c603217a897898 
  src/slave/slave.hpp 13c76d1eaea2b49519948c9116e5db5caf9407ea 
  src/slave/slave.cpp 7f99e4610d06ebadbef48ce314fec6ad04acb307 
  src/tests/common/type_utils_tests.cpp 
a962b397a2340694232ab13ea9eca7fff78d35e2 
  src/tests/container_logger_tests.cpp 1b121a2fcce2d874aeefc4257b9d4e594866e78d 
  src/tests/containerizer/cgroups_isolator_tests.cpp 
702181d2257ef762efa283a1daec3a5b86251926 
  src/tests/containerizer/cpu_isolator_tests.cpp 
b16cde3c3ddb47859aec2d0496df4970def7c89f 
  src/tests/containerizer/docker_containerizer_tests.cpp 
1671d45171307cda62184505ce1dbadc476abca6 
  src/tests/containerizer/docker_volume_isolator_tests.cpp 
ca7bffd3b1773a11a4679d114885d3edd977b02b 
  src/tests/containerizer/isolator_tests.cpp 
9bb1e69209f34b18b5b64c3daf5ea26780f2ab74 
  src/tests/containerizer/memory_isolator_tests.cpp 
62cffa748b1d18d28ad1118f2b26c1caac3f623a 
  src/tests/containerizer/xfs_quota_tests.cpp 
fb1d03b880cb76edf6ef9dd84e4b1ecd2a7a6b08 
  src/tests/default_executor_tests.cpp 055a3d76e0224265f51b8393406070c6032541fc 
  src/tests/dynamic_weights_tests.cpp 6f1e249e51e41aee7fdb22a2ccbfa9be71774e6d 
  src/tests/environment.cpp fba94f6e3c810a7907ff180e19a770c36d569374 
  src/tests/files_tests.cpp f6a6aeaa4efa05957d1038c564157216fce70246 
  src/tests/health_check_tests.cpp 30b5a2f6b256b795853553f2e5cb3c5e08512a5f 
  src/tests/hierarchical_allocator_tests.cpp 
7705de95a3916310baf4daca62aab1e6b1ca3cb3 
  src/tests/hook_tests.cpp 602bb39b3f65f38bba7526de0c6843fb8776a2b3 
  src/tests/log_tests.cpp 99954388eb0fad2acde0cedfd7daa3c9379bfb03 
  src/tests/master_allocator_tests.cpp b4ecd461d522503264ad2e25b2bf0cfc4a0ba12a 
  src/tests/master_slave_reconciliation_tests.cpp 
2983c1b074c2d4179e95e619083f5dd4e9ac6730 
  src/tests/master_validation_tests.cpp 
16c5773aa44016f923e00cb348ded6b8c46d4b4b 
  src/tests/mesos.hpp fa6789b0436b11a4f1baade9b5cbae0a04e1687d 
  src/tests/mesos.cpp 07a64f0ff49a753ec26260cdf859d0584c3f935a 
  src/tests/mock_docker.hpp 1bf09c8dba020b421526b650523c879fb87380f8 
  src/tests/mock_docker.cpp 6a0e613bde6889864a37ffd7ec0b454e5fe4df1c 
  src/tests/mock_slave.hpp 53e1c9ee1ae5150fc2e6deebb574c9c86e08df7f 
  src/tests/mock_slave.cpp 50c04bff9e6f0f202af4c07b4036e021d3833ebf 
  src/tests/oversubscription_tests.cpp 3dd34ea78ac795a6b0d342dcae86642c51841eea 
  src/tests/partition_tests.cpp 8e3827a33f957187d14354e2d27dccd27c37290d 
  src/tests/persistent_volume_tests.cpp 
c38d8484fbd62b36bf124a96d17c8cae5e51e594 
  src/tests/reservation_tests.cpp 93e95a9ba33051b9506714a9578118569c09f7e6 
  src/tests/resources_tests.cpp 157b9f65945b864e463c62a89281a3c80a85929d 
  src/tests/slave_recovery_tests.cpp 389daf0f5af9a2786619312253f78cd9160b080b 
  src/tests/slave_tests.cpp b44b6fc5627ad97a33be151cb21133da57f3efd8 
  src/v1/resources.cpp 4b66acbba92bc6316fa77ae4dcabce9fab65f7b5 
  support/mesos-tidy.sh da7d7ee970b725ec15dafbf30cf89ce7cf5c28a4 

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


Testing
-------

make check

TODO: Add a helper binary for generating random maintenance schedules.


Thanks,

Joseph Wu

Reply via email to