Namenode not getting started

0 votes

I cannot start the namenode and datanode, earlier it was working fine, but then i had to restart the VM for some reason. 

I tried both bin/start-all.sh and bin/start-dfs.sh.

Apr 23, 2018 in Big Data Hadoop by Ashish
• 2,630 points
67 views

1 answer to this question.

0 votes

You need to delete the contents of the temporary folder, then format the namenode.

rm -Rf <tmp dir>

bin/hadoop namenode -format

bin/start-all.sh

Hope it helps

answered Apr 23, 2018 by kurt_cobain
• 9,240 points

Related Questions In Big Data Hadoop

+1 vote
1 answer
0 votes
1 answer

Avro - Getting Started

Refer to the example given here. It's ...READ MORE

answered Apr 4, 2018 in Big Data Hadoop by nitinrawat895
• 10,110 points
35 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,140 points
109 views
0 votes
1 answer

Hadoop MacOS: formatting namenode: Could not find or load main class

You need to point the HADOOP_PREFIX to ...READ MORE

answered Nov 13, 2018 in Big Data Hadoop by Omkar
• 67,140 points
85 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,110 points
2,058 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,110 points
198 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,537 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
771 views
+1 vote
2 answers

Failed to restart Hadoop namenode using cloudera quickstart

You can use cloudera manager to manage ...READ MORE

answered Mar 19, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
566 views
0 votes
1 answer

Why does my yarn application not have logs even with logging enabled?

yarn application -list command shows you all ...READ MORE

answered Mar 19, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
474 views