Github user kkhatua commented on the issue:
https://github.com/apache/drill/pull/1200
@Ben-Zvi / @paul-rogers
I discovered that the path `/cgroup` is unique only to my installation of
the package on CentOS. The standard path is `/sys/fs/cgroup`.
So, I've made changes that allow for users to specify the CGroups location.
Without this, the latest commit complains as expected:
```
[root@kk127 ~]#
/opt/mapr/drill/apache-drill-1.14.0-SNAPSHOT/bin/drillbit.sh restart
Stopping drillbit
..
Starting drillbit, logging to /var/log/drill/drillbit.out
ERROR: CGroup drillcpu not found. Ensure that daemon is running,
SYS_CGROUP_DIR is correctly set (currently, /sys/fs/cgroup ), and that the
CGroup exists
```
The `drill-env.sh` also specifies that the enforcement is only for CPU.
I'll put this in the documentation of the feature as well.
---