On Sep 21, 2015, at 19:33, Guangya Liu 
<[email protected]<mailto:[email protected]>> wrote:

HI Rinaldo,

I think that you can use dynamic reservation feature to achieve this: You can 
launch your tasks after reservation succeeds.  Actually, all of the dynamic 
reservation feature with endpoint has been finished except ACL part, so you can 
use this feature now if you do not care ACL part.

Thanks,

Many thanks -- I am using 0.23. I am unable to compile 0.24 on Oracle Linux. Do 
you think I should report the issue on Oracle Linux 7 -- the subversion 
libraries are not being found.
Rinaldo


Guangya

On Tue, Sep 22, 2015 at 6:32 AM, DiGiorgio, Mr. Rinaldo S. 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

   I have some tasks that need to run on different types of agents. I don’t 
want the tasks to run unless I am going to have all the resources.  Can someone 
suggest how I could accomplish that with mesos.  I read about reservations 
here:  http://mesos.apache.org/documentation/latest/reservation/

   I could iterate over all the resources I need and if I get them proceed.

   Is that the only way to do it?

   Any idea when coming soon will be available?

/reserve (Coming Soon)

Suppose we want to reserve 8 CPUs and 4096 MB of RAM for the ads role on a 
slave with id=<slave_id>. We send an HTTP POST request to the /reserve HTTP 
endpoint like so:


Rinaldo




Reply via email to