Re: Review Request 42993: Support for multiple frameworks sharing the same resource.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42993/ --- (Updated Feb. 14, 2016, 6:25 a.m.) Review request for mesos and Adam B. Bugs: MESOS-4431 https://issues.apache.org/jira/browse/MESOS-4431 Repository: mesos Description --- The allocator tracks allocated shared resources separately from the remaining allocated resources so that multiple frameworks see the same view of the shared resource at any given time. This avoids unnecessary copies of the same shared resource when multiple frameworks use such resources simultaneously. Diffs (updated) - include/mesos/resources.hpp fe8a5745ea7d4943c47ac22c73db70488c6dfa9f include/mesos/v1/resources.hpp c27927e4f0d7f45e69fe3312b2423afb64c5c51e src/common/resources.cpp 5d731870542166cec11f9956ccdf16207b2d22cc src/master/allocator/mesos/hierarchical.cpp a9d2c23162892e0f97d89a076d2311091d91 src/master/allocator/sorter/drf/sorter.hpp 4669149b81de39b4bb921ef7cd6787aa583f6e40 src/master/allocator/sorter/drf/sorter.cpp 18797e42a9c2bd20392020237cfae600a5ffe12c src/master/allocator/sorter/sorter.hpp a0a779b81f6d048271f15256b38ff907ae144b83 src/master/master.cpp e1ca81dab85a7ab1391eca0d6bd995548bf79c22 src/v1/resources.cpp 207eb61d6a6d03d314539d42751cac65fcffa9af Diff: https://reviews.apache.org/r/42993/diff/ Testing --- make check done. Thanks, Anindya Sinha
Re: Review Request 42993: Support for multiple frameworks sharing the same resource.
> On Feb. 1, 2016, 3:51 a.m., Guangya Liu wrote: > > It is better add some unit tests in `hierarchical_allocator_tests.cpp` to > > cover the update in allocator for shareable resources. Added unit tests but included in https://reviews.apache.org/r/42996. - Anindya --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42993/#review117177 --- On Feb. 5, 2016, 10:57 p.m., Anindya Sinha wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42993/ > --- > > (Updated Feb. 5, 2016, 10:57 p.m.) > > > Review request for mesos and Adam B. > > > Bugs: MESOS-4431 > https://issues.apache.org/jira/browse/MESOS-4431 > > > Repository: mesos > > > Description > --- > > The allocator tracks allocated shared resources separately from the > remaining allocated resources so that multiple frameworks see the > same view of the shared resource at any given time. This avoids > unnecessary copies of the same shared resource when multiple > frameworks use such resources simultaneously. > > > Diffs > - > > src/master/allocator/mesos/hierarchical.cpp > a9d2c23162892e0f97d89a076d2311091d91 > src/master/allocator/sorter/drf/sorter.hpp > 4669149b81de39b4bb921ef7cd6787aa583f6e40 > src/master/allocator/sorter/drf/sorter.cpp > 18797e42a9c2bd20392020237cfae600a5ffe12c > src/master/allocator/sorter/sorter.hpp > a0a779b81f6d048271f15256b38ff907ae144b83 > src/master/master.cpp e1ca81dab85a7ab1391eca0d6bd995548bf79c22 > > Diff: https://reviews.apache.org/r/42993/diff/ > > > Testing > --- > > make check done. > > > Thanks, > > Anindya Sinha > >
Re: Review Request 42993: Support for multiple frameworks sharing the same resource.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42993/ --- (Updated Feb. 5, 2016, 10:57 p.m.) Review request for mesos and Adam B. Bugs: MESOS-4431 https://issues.apache.org/jira/browse/MESOS-4431 Repository: mesos Description --- The allocator tracks allocated shared resources separately from the remaining allocated resources so that multiple frameworks see the same view of the shared resource at any given time. This avoids unnecessary copies of the same shared resource when multiple frameworks use such resources simultaneously. Diffs (updated) - src/master/allocator/mesos/hierarchical.cpp a9d2c23162892e0f97d89a076d2311091d91 src/master/allocator/sorter/drf/sorter.hpp 4669149b81de39b4bb921ef7cd6787aa583f6e40 src/master/allocator/sorter/drf/sorter.cpp 18797e42a9c2bd20392020237cfae600a5ffe12c src/master/allocator/sorter/sorter.hpp a0a779b81f6d048271f15256b38ff907ae144b83 src/master/master.cpp e1ca81dab85a7ab1391eca0d6bd995548bf79c22 Diff: https://reviews.apache.org/r/42993/diff/ Testing --- make check done. Thanks, Anindya Sinha
Re: Review Request 42993: Support for multiple frameworks sharing the same resource.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42993/ --- (Updated Feb. 2, 2016, 12:37 a.m.) Review request for mesos and Adam B. Summary (updated) - Support for multiple frameworks sharing the same resource. Bugs: MESOS-4431 https://issues.apache.org/jira/browse/MESOS-4431 Repository: mesos Description (updated) --- The allocator tracks allocated shared resources separately from the remaining allocated resources so that multiple frameworks see the same view of the shared resource at any given time. This avoids unnecessary copies of the same shared resource when multiple frameworks use such resources simultaneously. Diffs (updated) - src/master/allocator/mesos/hierarchical.cpp 1a07d69016407e5aad2209586da37fecbcddb765 src/master/allocator/sorter/drf/sorter.hpp 4669149b81de39b4bb921ef7cd6787aa583f6e40 src/master/allocator/sorter/drf/sorter.cpp db47d640e36c0302d7c6254a9c58caa878feac01 src/master/allocator/sorter/sorter.hpp a0a779b81f6d048271f15256b38ff907ae144b83 src/master/master.cpp 98441a543611d4083b2495ee103f0ab5e2187e83 Diff: https://reviews.apache.org/r/42993/diff/ Testing --- make check done. Thanks, Anindya Sinha