Member since
05-21-2016
2
Posts
0
Kudos Received
0
Solutions
05-21-2016
09:19 AM
I have all permission correct for /var/run/hdfs-sockets/ under root:root still its showing error and HDFS is not starting
... View more
05-21-2016
09:17 AM
java.net.BindException: bind(2) error: Permission denied when trying to bind to '/var/run/hdfs-sockets/dn'
Exception in secureMain
java.net.BindException: bind(2) error: Permission denied when trying to bind to '/var/run/hdfs-sockets/dn'
at org.apache.hadoop.net.unix.DomainSocket.bind0(Native Method)
at org.apache.hadoop.net.unix.DomainSocket.bindAndListen(DomainSocket.java:191)
at org.apache.hadoop.hdfs.net.DomainPeerServer.<init>(DomainPeerServer.java:40)
at org.apache.hadoop.hdfs.server.datanode.DataNode.getDomainPeerServer(DataNode.java:967)
at org.apache.hadoop.hdfs.server.datanode.DataNode.initDataXceiver(DataNode.java:933)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1137)
at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:451)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2406)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2293)
at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2340)
at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2517)
at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2541)
Exiting with status 1
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at icslt.ad.infosys.com/172.25.11.89
************************************************************/
Hi Members,
My problem is not resolving even with ROOT:ROOT permission on
[root@icslt run]# ls -ltd hdfs-sockets/ drwxr-xr-x 2 root root 4096 May 21 00:52 hdfs-sockets/ [root@icslt run]#
Please suggest its urgent....
Thanks in advance.
Amit Lal
... View more