Datanode not running on Hadoop-2.7.3

0 votes

I am new to hadoop while after the installation and all the settings were done, when I run jps to see my daemons are running or not. I can see datanode is not running. 

When I try to run it manually with the command:

/sbin/hadoop-daemon.sh start datanode

Can anyone suggest an resolve to this?

 

Jun 13 in Big Data Hadoop by ravi
85 views

1 answer to this question.

0 votes

Hey,

I solved this problem by removing hadoop directory in tmp just in terminal:

sudo rm -r /tmp/hadoop-<username>

Then format the file system and start the Name node and Data node, I hope it will work.

answered Jun 13 by Gitika
• 25,340 points

Related Questions In Big Data Hadoop

+2 votes
4 answers

Datanode process not running in Hadoop

Run the following commands: Stop-all.sh start-dfs.sh start-yarn.sh mr-jobhistory-daemon.sh ...READ MORE

answered Oct 25, 2018 in Big Data Hadoop by Anand
311 views
0 votes
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
3,062 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
341 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
15,040 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,120 views
0 votes
1 answer

I have installed Hadoop on Ubuntu but name node is not running.

If you are using Hadoop version-2.7.7, then ...READ MORE

answered Apr 30 in Big Data Hadoop by Gitika
• 25,340 points
150 views
0 votes
1 answer

How to see MySql service is running or not using linux command?

This is the command you can use ...READ MORE

answered Apr 15 in Big Data Hadoop by Gitika
• 25,340 points
28 views