Datanode not running and not able start

0 votes
The datanode daemon is not running:
$ sudo jps
1685 NameNode
1855 NodeManager
3689 SecondaryNameNode
1916 JobHistoryServer
1798 ResourceManager
4029 Jps


I tried to start the datanode using cmd:


/usr/lib/hadoop-2.2.0/bin/hadoop datanode


but it gave below error:
 

WARN datanode.DataNode: Invalid dfs.datanode.data.dir /usr/lib/hadoop-2.2.0/hadoop2_data/hdfs/datanode : 
org.apache.hadoop.util.DiskChecker$DiskErrorException: Directory is not readable: /usr/lib/hadoop-2.2.0/hadoop2_data/hdfs/datanode
Dec 20, 2018 in Big Data Hadoop by slayer
• 29,170 points
41 views

1 answer to this question.

0 votes

Please type the below command in the terminal to solve the problem:

sudo service hadoop-master restart
sudo jps
answered Dec 20, 2018 by Omkar
• 67,620 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Not able to start Job History Server in Hadoop 2.8.1

You have to start JobHistoryServer process specifically ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by Ashish
• 2,630 points
482 views
0 votes
1 answer

Why am I not able to see the Hadoop daemons that are running?

I guess you are starting the services ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by Shubham
• 13,300 points
70 views
+2 votes
5 answers

Not able to start hadoop dfs

You can re-install openssh-client and openssh-server: $ sudo ...READ MORE

answered Oct 25, 2018 in Big Data Hadoop by Jino
262 views
0 votes
1 answer

Hadoop: Not able to start Namenode

Stop all running server 1) stop-all.sh Edit the ...READ MORE

answered Nov 8, 2018 in Big Data Hadoop by Omkar
• 67,620 points
206 views
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,670 points
2,978 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,670 points
332 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
14,728 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,240 points
1,095 views
+1 vote
1 answer

Not able to start datanode in Hadoop

Follow these steps: Stop namenode Delete the datanode directory ...READ MORE

answered Dec 12, 2018 in Big Data Hadoop by Omkar
• 67,620 points
82 views
+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
286 views