Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Not able to start HDFS datanode on cloudera-server host

Highlighted

Not able to start HDFS datanode on cloudera-server host

New Contributor
 

 Hi, I have installed the cloudera manager using the method - 

http://www.cloudera.com/content/www/en-us/documentation/enterprise/latest/topics/cm_ig_install_path_...

and used single user mode - cloudera-scm

After proper installation using parcels, i am not able to deploy client configuration and when i started each service
individally, i am able to start zookeeper but not HDFS. It gives error as follows -

 

2015-11-18 13:50:45,659 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Balancing bandwith is 10485760 bytes/s
2015-11-18 13:50:45,659 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Number threads for balancing is 5
2015-11-18 13:50:45,660 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Waiting for threadgroup to exit, active threads is 0
2015-11-18 13:50:45,661 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Shutdown complete.
2015-11-18 13:50:45,661 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain
java.net.BindException: bind(2) error: Address already in use 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:980)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.initDataXceiver(DataNode.java:946)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1144)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:430)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2404)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2291)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2338)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2515)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2539)
2015-11-18 13:50:45,668 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1
2015-11-18 13:50:45,672 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at 01hw462775.india.xyz.com/172.26.204.19 

 

Don't have an account?
Coming from Hortonworks? Activate your account here