Data Node is not running, also when I do ./start-all.sh it says datanode running as process 5832. Stop it first


6 Answer(s)


hi Narendra,

You can try starting these daemons individually

bin/hadoop-daemon.sh start namenode
bin/hadoop-daemon.sh start jobtracker
bin/hadoop-daemon.sh start datanode
bin/hadoop-daemon.sh start tasktracker

jps

Thanks

remove the portion in hdfs-site.xml of data node and namenode keep only replication part and format namenode you will get datanode up

Step 1:- Stop-all.sh    

Step 2:- got to this path :-

cd /usr/local/hadoop/bin

 

Step 3:- Run that command
hadoop datanode

Now DataNode work 


Do we run the hadoop datanode command on each datanode?

 


I am getting this  message although I have given access priviledges to hduser:

 

/usr/local/hadoop/sbin/start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
18/05/16 14:06:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hduser-namenode-swapnila-virtual-machine.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-hduser-datanode-swapnila-virtual-machine.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-hduser-secondarynamenode-swapnila-virtual-machine.out
18/05/16 14:06:42 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/logs/yarn-hduser-resourcemanager-swapnila-virtual-machine.out
localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-hduser-nodemanager-swapnila-virtual-machine.out
hduser@swapnila-virtual-machine:/usr/local/hadoop/bin$ jps
8772 ResourceManager
9053 Jps
8901 NodeManager
hduser@swapnila-virtual-machine:/usr/local/hadoop/bin$ /usr/local/hadoop/sbin/stop-all.sh
This script is Deprecated. Instead use stop-dfs.sh and stop-yarn.sh
18/05/16 14:09:53 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Stopping namenodes on [localhost]
localhost: no namenode to stop
localhost: no datanode to stop
Stopping secondary namenodes [0.0.0.0]
0.0.0.0: no secondarynamenode to stop
18/05/16 14:10:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
stopping yarn daemons
stopping resourcemanager
localhost: stopping nodemanager
no proxyserver to stop
hduser@swapnila-virtual-machine:/usr/local/hadoop/bin$ 
 

Please help


Hello Swapnila I am also facing the same error, were you able to resolve the issue. can you help me with the steps