Docker Centos 7 Image.
I am enabling the cgroups on all hosts of the Cloudera cluster. But after enabling cgroup roles are not starting on the hosts.
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:
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.?
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.