I am getting error after installation and I am not able to start HDFS data node.
I am always getting Error:
Exception in secureMain java.net.BindException: bind(2) error: Address already in use when trying to bind to '/var/hdfs-sockets/dn' at org.apache.hadoop.net.unix.DomainSocket.bind0(Native Method) at org.apache.hadoop.net.unix.DomainSocket.bindAndListen(DomainSocket.java:191)
I checked and with netstat I am not getting that something is busy on port 50010 since Data Node is run on 50010
Opened streaming server at /10.0.9.6:50010.
I tried bysetting the parameter dfs.domain.socket.path to different paths:
This folders are creted on NameNode servers but also I created it on DataNode server.
I tried by setting it in the ownership of the root user but also and to cloudera-scm user.
And the same error is always thrown.
Can someone please provide me answer how to resolve this kind of error wich is always thrown when trying to start HDFS since I am not able to continue further?