Namenode is not getting started

0 votes

I am currently running Hadoop in a Pseudo Distributed Mode. I just restarted my system and after that, I tried to start the Hadoop Namenode and Datanode. I have used both the commands.

bin/start-all.sh
bin/start-dfs.sh

None of these seems to work. Help me out and please let me know what was the error.

Jul 22, 2019 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,186 views

2 answers to this question.

0 votes

hadoop.tmp.dir in the core-site.xml is defaulted to /tmp/hadoop-${user.name} which is cleaned after every reboot. Change this to some other directory which doesn't get cleaned on reboot

answered Jul 22, 2019 by ravikiran
• 4,620 points
0 votes

Hi,

You can do one thing,

first delete all contents from temporary folder: rm -Rf <tmp dir>

format the namenode: bin/hadoop namenode -format

start all processes again:bin/start-all.sh

answered Aug 5, 2019 by Namisha

Related Questions In Big Data Hadoop

0 votes
1 answer

In my hadoop namenode is not starting

Hi@Aman, There may be many reasons behind this. ...READ MORE

answered Jul 22, 2020 in Big Data Hadoop by MD
• 95,460 points
1,223 views
+1 vote
1 answer
0 votes
11 answers

What is the default Namenode port of HDFS. Is it 8020 or 9000 or 50070?

8020/9000 hadoop namenode metadata port number. or ...READ MORE

answered Dec 31, 2018 in Big Data Hadoop by SM
63,139 views
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
665 views
0 votes
1 answer

Is there a way to rebalance single Datanode in Hadoop.

Currently Hadoop does not automatically do this. ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
790 views
0 votes
2 answers

How can I list NameNode & DataNodes from any machine in the Hadoop cluster?

You can browse hadoop page from any ...READ MORE

answered Jan 23, 2020 in Big Data Hadoop by MD
• 95,460 points
11,671 views
0 votes
1 answer

Namenode not getting started

You need to delete the contents of the ...READ MORE

answered Apr 23, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
2,180 views
0 votes
1 answer

Can DataNode and NameNode be commodity hardware?

DataNodes are the commodity hardware only as ...READ MORE

answered Dec 19, 2018 in Big Data Hadoop by Neha
• 6,300 points
3,156 views
0 votes
1 answer

What is Kafka? what is its importance in Big-Data?

Apache Kafka is a tool used in ...READ MORE

answered Apr 11, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
1,735 views
0 votes
1 answer

Is it possible to run Apache Spark without Hadoop?

Though Spark and Hadoop were the frameworks designed ...READ MORE

answered May 3, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
1,289 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