Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/1053#discussion_r51133599
--- Diff: conf/defaults.yaml ---
@@ -281,3 +281,16 @@ pacemaker.thread.timeout: 10
pacemaker.childopts: "-Xmx1024m"
pacemaker.auth.method: "NONE"
pacemaker.kerberos.users: []
+
+storm.resource.isolation.plugin:
"org.apache.storm.container.cgroup.CgroupManager"
+
+# Configs for CGroup support
+cgroup.storm.hierarchy.dir: "/cgroup/storm_resources"
+cgroup.storm.resources:
+ - cpu
+ - memory
+cgroup.storm.hierarchy.name: "storm"
+# Also determines whether the unit tests for cgroup runs. If
cgroup.enable is set to false the unit tests for cgroups will not run
+cgroup.enable: false
+cgroup.supervisor.rootdir: "storm"
+cgroup.cgexec.cmd: "/bin/cgexec"
--- End diff --
Can we please prefix these configs with "storm." and probably also
"storm.supervisor."
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---