Created 03-04-2022 06:10 AM
when I am trying to start the nodemanager I am getting
Caused by: java.io.IOException: Not able to enforce cpu weights; cannot write to cgroup at: /sys/fs/cgroup/cpu,cpuacct
Created 03-04-2022 06:18 AM
Permission on the directory :
ls -ld cpu,cpuacct
drwxr-xr-x 5 root root 0 Feb 19 20:52 cpu,cpuacct
Created 03-06-2022 08:09 AM
@Chetankumar Can you please share complete stack trace of the error
Also confirm cdh/ hdp version
Created 03-06-2022 11:52 PM
Getting fatal Error on. "org.apache.hadoop.yarn.server.nodemanager.NodeManager"
Error starting NodeManager
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Failed to initialize container executor
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:251)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:544)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:591)
Caused by: java.io.IOException: Not able to enforce cpu weights; cannot write to cgroup at: /sys/fs/cgroup/cpu,cpuacct
at org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler.initializeControllerPaths(CgroupsLCEResourcesHandler.java:502)
at org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler.init(CgroupsLCEResourcesHandler.java:154)
at org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler.init(CgroupsLCEResourcesHandler.java:137)
at org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.init(LinuxContainerExecutor.java:215)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:249)
... 3 more
Version: Hadoop 2.6.0-cdh5.10.2 Cloudera express
Created 03-07-2022 01:06 AM
We have made changes to Static Service Pools in CM and now it failed to start the node manager. Could you please let me know how can we revert it back to original? This is cloudera express version.
@Scharan