> On Oct. 26, 2015, 2:07 p.m., Klaus Ma wrote: > > src/master/allocator/mesos/hierarchical.cpp, line 1004 > > <https://reviews.apache.org/r/39401/diff/5/?file=1105060#file1105060line1004> > > > > Just check the code, dynamically reserved resource are included in > > allocation. > > Qian Zhang wrote: > Really?:-) I think once a resource is dynamically reserved, it will be > removed from the framework's allocation and marked as reserved in slave's > total resources, so that in next allocation cycle it can be offered to the > framework of the role which reserves it.
A reserved resource can be allocated or not. For example, if a framework declines a reserved resource, it will be removed from allocated. - Alexander ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39401/#review104013 ----------------------------------------------------------- On Oct. 27, 2015, 7:27 p.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39401/ > ----------------------------------------------------------- > > (Updated Oct. 27, 2015, 7:27 p.m.) > > > Review request for mesos, Bernd Mathiske, Joerg Schad, and Joris Van > Remoortere. > > > Bugs: MESOS-3718 > https://issues.apache.org/jira/browse/MESOS-3718 > > > Repository: mesos > > > Description > ------- > > See summary. > > > Diffs > ----- > > src/master/allocator/mesos/hierarchical.cpp > f4e4a123d3da0442e8b0b0ad14d1ee760752ba36 > > Diff: https://reviews.apache.org/r/39401/diff/ > > > Testing > ------- > > make check (Mac OS X 10.10.4) > > > Thanks, > > Alexander Rukletsov > >