mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Re: Review Request 45067: Updated the long-lived-framework example.
Date Tue, 05 Apr 2016 22:33:12 GMT

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

(Updated April 5, 2016, 3:33 p.m.)

Review request for mesos, Greg Mann, Artem Harutyunyan, Kevin Klues, and Vinod Kone.


Addressed Vinod's comments.

Bugs: MESOS-5062

Repository: mesos


This gives the example `long-lived-framework` enough options to run outside of the build environment.

This also updates:

* The style of the framework code.
* Gives the `ExecutorInfo` some resources (needed for some cgroups isolators).
* Restricts the framework to one agent.  Otherwise, it would grab a small chunk of every machine
in the cluster.
* Adds filters for declined offers.

Diffs (updated)

  src/examples/long_lived_framework.cpp ef498d63bc5f0a8deb46d71edd85a76a1d38fdd0 



make check

Ran this on the master node on a Mesos cluster:
./long-lived-framework --master=zk://localhost:2181/mesos --executor_uri=""
--executor_command="LD_LIBRARY_PATH=/path/to/libmesos && ./long-lived-executor"


Joseph Wu

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