private CPUControlGroup ttcgp;
private CPUControlGroup trashcgp;
public TaskTrackerCPUControlGroup(Configuration conf, int slots) {
String rootpath = conf.get(CGROUP_CPU_ROOT_PROPERTY, DEFAULT_CGROUP_CPU_ROOT);
ttcgp = new CPUControlGroup(rootpath);
if (!CPUControlGroup.isAvailable()) {
LOG.warn("TaskTrackerCPUControlGroup is disabled because a cpu sub-system is not available");
isAvailable = false;
return;