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,650 points
2,008 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,390 points

Related Questions In Big Data Hadoop

0 votes
2 answers

Namenode is not getting started

Hi, You can do one thing, first delete all ...READ MORE

answered Aug 5, 2019 in Big Data Hadoop by Namisha
755 views
+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
• 11,380 points
476 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
• 69,210 points
2,096 views
+1 vote
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
• 11,380 points
10,604 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
• 11,380 points
2,208 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,783 views
–1 vote
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,390 points
4,286 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,390 points

edited Jun 9, 2020 by MD 3,817 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,390 points
4,587 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP