Namenode stops automatically after a while when started Hadoop

0 votes

I have installed Hadoop, but after installation when I used jps command to see all Hadoop daemons are running or not, it worked. But I had to shut my system for some stuffs and again when I run the command again its showing all the daemons accept Namenode.

I have already checked with both these command start-all.sh and start-dfs.dh. Still its not working, can anyone give solution to this error?

Jun 17, 2019 in Big Data Hadoop by Janosh
1,050 views

1 answer to this question.

0 votes

Hi,

You can follow these steps which can solve your issue:

  • Delete all the files from the temporary folder: 
rm -Rf <tmp dir>  (my was usr/edureka/hadoop/tmp)
  • Forget the Namenode:

bin/hadoop namenode -format
  • Start all process again:

bin/start-all.sh

I hope it will work.

 

answered Jun 17, 2019 by Gitika
• 65,770 points

Related Questions In Big Data Hadoop

0 votes
1 answer

After installing Hadoop on Windows7, NameNode failed to start

You need to install Hadoop winutils to ...READ MORE

answered May 3, 2018 in Big Data Hadoop by Shubham
• 13,490 points
7,197 views
0 votes
1 answer

What happend while formatting hadoop namenode?

Basically, NameNode is the master daemon that ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Ashish
• 2,650 points
631 views
0 votes
1 answer
+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
11,078 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
109,076 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,350 points
4,643 views
0 votes
1 answer
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