[
https://issues.apache.org/jira/browse/STORM-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107911#comment-15107911
]
Basti Liu commented on STORM-1336:
----------------------------------
[~jerrypeng] I think it is NOT difficult to integrate RSA into current cgroups
code. Currently, when starting worker, we retrieve the configuration of
limitation of resource amount from "storm conf". if I recall correctly, the
corresponding information of resource amount is stored in assignment in RSA.
So, you can just retrieve the configuration from assignment instead of "storm
conf".
For the porting of supervisor.clj, most work was done except health checking.
After internal review, we will put up the PR. But the cgroup support is not
included in this porting. Any idea of bringing the merging of cgroup support to
phase 1? If it is OK,we can do the integration before PR.
BTW, only root user can modify the cgroup hierarchy. If you would like to use
admin user or other user to start supervisor and worker, you need to configure
the cgconfig.conf first to enable the modification permission to the uid of
relative user for the special cgroup hierarchy used for supervisor and worker.
> Evalute/Port JStorm cgroup support
> ----------------------------------
>
> Key: STORM-1336
> URL: https://issues.apache.org/jira/browse/STORM-1336
> Project: Apache Storm
> Issue Type: New Feature
> Components: storm-core
> Reporter: Robert Joseph Evans
> Assignee: 冯健
> Labels: jstorm-merger
>
> Supports controlling the upper limit of CPU core usage for a worker using
> cgroups
> Sounds like a good start, will be nice to integrate it with RAS requests too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)