hdfs - Filed to start data node in Hadoop Cluster -
i trying installing cdh 4.6 in cluster of 3 nodes. 1 data node out of 3 not able start @ all. tried searching , solving possible ways, failed. please me in solving this. below log.
5:49:10.708 pm fatal org.apache.hadoop.hdfs.server.datanode.datanode exception in securemain java.io.ioexception: path component: '/' world-writable. permissions 0777. please fix or select different socket path. @ org.apache.hadoop.net.unix.domainsocket.validatesocketpathsecurity0(native method) @ org.apache.hadoop.net.unix.domainsocket.bindandlisten(domainsocket.java:191) @ org.apache.hadoop.hdfs.net.domainpeerserver.<init>(domainpeerserver.java:42) @ org.apache.hadoop.hdfs.server.datanode.datanode.getdomainpeerserver(datanode.java:603) @ org.apache.hadoop.hdfs.server.datanode.datanode.initdataxceiver(datanode.java:570) @ org.apache.hadoop.hdfs.server.datanode.datanode.startdatanode(datanode.java:741) @ org.apache.hadoop.hdfs.server.datanode.datanode.<init>(datanode.java:344) @ org.apache.hadoop.hdfs.server.datanode.datanode.makeinstance(datanode.java:1795) @ org.apache.hadoop.hdfs.server.datanode.datanode.instantiatedatanode(datanode.java:1728) @ org.apache.hadoop.hdfs.server.datanode.datanode.createdatanode(datanode.java:1751) @ org.apache.hadoop.hdfs.server.datanode.datanode.securemain(datanode.java:1904) @ org.apache.hadoop.hdfs.server.datanode.datanode.main(datanode.java:1925) 5:49:10.723 pm info org.apache.hadoop.util.exitutil exiting status 1 5:49:10.725 pm info org.apache.hadoop.hdfs.server.datanode.datanode shutdown_msg: /************************************************************ shutdown_msg: shutting down datanode @ xx.xx.xxx.xxxxx
have confirmed root filesystem not set 777 permissions?
this should correct permissions root(/):
[root@server ~]# ls -ald / dr-xr-xr-x. 29 root root 4096 feb 20 13:53 /
if see this, root filesystems need chmod 555:
[root@server ~]# ls -ald / drwxrwxrwx. 29 root root 4096 feb 20 13:53 /
Comments
Post a Comment