Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cgroups Configuration on Cloudera

Highlighted

Cgroups Configuration on Cloudera

Explorer

Cloudera 6.2.0

Docker Centos 7 Image.

 

 

Hi All,

I am enabling the cgroups on all hosts of the Cloudera cluster. But after enabling cgroup roles are not starting on the hosts.

 

Error:

Error found before invoking supervisord: [Errno 2] No such file or directory: '/sys/fs/cgroup/cpuacct,cpu/system.slice/docker-542551d4e6b6ca6c6ab65a6f3b51c538b126a1762b36b35b7ba9023ed262f953.scope/185-yarn-RESOURCEMANAGER'

 

As I checked in host the below path exists:

/sys/fs/cgroup/cpuacct,cpu

but there is no "system.slice" folder exists inside /sys/fs/cgroup/cpuacct,cpu .

 

But there "system.slice" folder exists in /sys/fs/cgroup/cpuacct,cpu/systemd/system.slice/.

 

Can any one guide me how can I fix this error.?

 

Thanks.

 

 

2 REPLIES 2

Re: Cgroups Configuration on Cloudera

Cloudera Employee

Hi All,

 

As per checking the error, The system expecting the path should be present under cgroups to write the Yarn resource manager but the path is not present. So please ask the OS team to create the path under the cgroup as below to get it fixed.

 

OS request to create a path /sys/fs/cgroup/cpuacct,cpu/system.slice

 

I could see that the above was already addressed in Cloudera Enterprise 5.11. So for a permanent solution, we recommend you to upgrade the version to 5.11.

 

Hope this clarifies your queries.

 

Regards,

Ela

Re: Cgroups Configuration on Cloudera

Explorer
As I already mention I am using CDH 6.2.0 version. Also
I am not able to create a folder inside /sys/fs/cgroup/cpuacct,cpu/ as this is readonly file system.