-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48477/
-----------------------------------------------------------
Review request for mesos, Benjamin Mahler and Jie Yu.
Bugs: MESOS-5581
https://issues.apache.org/jira/browse/MESOS-5581
Repository: mesos
Description
-------
Some isolators depend on other isolators. However, we previously did
not have a generic method of expressing these dependencies. We special
cased the `filesystem/*` isolators to make sure that dependencies on
them were satisfied, but no other dependencies could be expressed.
Now we use a vector to represent the pairing of isolator name to
isolator creator function, and the relative dependencies between each
isolator is implicit in the ordering of this vector. Previously, a
hashmap was used to hold this pairing, but this was inadequate because
hashmaps are inherently unordered. The new implementation using a
vector ensures everything is processed in the order it is listed.
Diffs
-----
src/slave/containerizer/mesos/containerizer.cpp
c7b9744463cf8e1921dcb5e2b7dec7d4e2c0e45f
Diff: https://reviews.apache.org/r/48477/diff/
Testing
-------
make -j check
Thanks,
Kevin Klues