> On Sept. 7, 2016, 10:09 p.m., Jiang Yan Xu wrote: > > Can we have a simple allocator test with two frameworks, one framework > > without the capability doesn't get allocated the shared resource and the > > other with the capability gets it? > > > > Could be in a follow up review.
Will add this test in a separate review. > On Sept. 7, 2016, 10:09 p.m., Jiang Yan Xu wrote: > > src/examples/persistent_shared_volume_framework.cpp, lines 579-580 > > <https://reviews.apache.org/r/45966/diff/13/?file=1493120#file1493120line579> > > > > Take this out for now and add it later together? Took it out from here, and moved it to https://reviews.apache.org/r/45962/. - Anindya ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45966/#review148098 ----------------------------------------------------------- On Sept. 7, 2016, 5:57 p.m., Anindya Sinha wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/45966/ > ----------------------------------------------------------- > > (Updated Sept. 7, 2016, 5:57 p.m.) > > > Review request for mesos and Jiang Yan Xu. > > > Bugs: MESOS-4325 > https://issues.apache.org/jira/browse/MESOS-4325 > > > Repository: mesos > > > Description > ------- > > Added a new capability SHARED_RESOURCES that frameworks need to opt > in if they are interested in receiving shared resources in their > offers. > > > Diffs > ----- > > include/mesos/mesos.proto 7fbcdf005718ba4d7ec3b02cf70a3fc53d4f4818 > include/mesos/v1/mesos.proto 60ec0cce35e5e2d2f4907efadc7ab92680566ef0 > src/examples/persistent_shared_volume_framework.cpp PRE-CREATION > src/master/allocator/mesos/hierarchical.hpp > dd07ed221d2c1755d2478369641ffdc46ecc4471 > src/master/allocator/mesos/hierarchical.cpp > 9e5db2196c6a541dc1208ba8b9f13ef9a518bcc4 > src/tests/hierarchical_allocator_tests.cpp > 24698ffc9f72bc1e144e5107412f5e7d9c4f7105 > > Diff: https://reviews.apache.org/r/45966/diff/ > > > Testing > ------- > > Tests updated with new capability. > Tests successful. > > > Thanks, > > Anindya Sinha > >
