There's also the previously discussed ResizeTask primitive: https://issues.apache.org/jira/browse/MESOS-1279 Yifan wrote an initial proof-of-concept patch that could probably be resurrected and cleaned up.
On Fri, Mar 13, 2015 at 2:28 PM, Tim St Clair <tstcl...@redhat.com> wrote: > fwiw - other systems also have attributes on the job/submission side as > well as the machine side. > The job attributes are updated every time they are evicted, and the > requirements could be adjusted by expression. > > This allows for expressive steering mechanics. > > Cheers, > Tim > ----- Original Message ----- > > > From: "Vinod Kone" <vinodk...@apache.org> > > To: u...@mesos.apache.org > > Cc: "dev" <dev@mesos.apache.org> > > Sent: Friday, March 13, 2015 12:53:06 PM > > Subject: Re: How to sizing memory in mesos > > > The only way you can increase or decrease memory for an executor is by > > launching/killing tasks. So you could presumably use no-op tasks to > achieve > > what you want. > > > On Fri, Mar 13, 2015 at 7:51 AM, haosdent < haosd...@gmail.com > wrote: > > > > Hello, I write a redis service based on Mesos. And I have a problem: > when I > > > launch a executor with a resource offer, how could I allocate more > memory > > > or > > > reduce memory for this running executor? Are there any API relates to > this? > > > Thank you in advance. > > > > > > -- > > > > > Best Regards, > > > > > Haosdent Huang > > > > -- > Cheers, > Timothy St. Clair > Red Hat Inc. >