Thursday, October 6, 2016

Exception in secureMain java.io.IOException: failed to stat a path component: '/var/run/hdfs-sockets'.

This is in CDH 5.8.2

Data Node not able to start due to:

FATALorg.apache.hadoop.hdfs.server.datanode.DataNode
Exception in secureMain
java.io.IOException: failed to stat a path component: '/var/run/hdfs-sockets'.  error code 2 (No such file or directory)
Creating a folder 'hdfs-sockets' under /var/run and changing owner:group to cloudera-scm solves the problem but this folder gets removed after the reboot.


No comments:

Post a Comment