[cgroups2] Enable controller in parent cgroups during prepare(). To support nested containers with nested cgroups, we need to enable controllers in cgroup.subtree_control file for the appropriate nested cgroup. To do so, we need to ensure that the parents have the the requested controller in their cgroup.subtree_control file so that the nested cgroup can have the controller written into subtree_control as well. Otherwise we will get a 'no such file or directory' error. Review: https://reviews.apache.org/r/75166/
Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.
Visit us at mesos.apache.org.
Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.
Instructions are included on the Getting Started page.
Apache Mesos is licensed under the Apache License, Version 2.0.
For additional information, see the LICENSE and NOTICE files.