UrbanPro
true

Learn Hadoop from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Solving the issue of Namenode not starting during Single Node Hadoop installation

B
Biswanath Banerjee
03/04/2018 0 0

On firing jps command, if you see that name node is not running during single node hadoop installation , then here are the steps to get Name Node running

Problem: namenode not getting started

Solution: - Please follow the following steps

STEP 1: stop hadoop

 

hduser@skillmentorz-virtualbox : $ /usr/local/hadoop/sbin/stop-dfs.sh

 

STEP 2: remove tmp folder

 

hduser@skillmentorz-virtualbox :$ sudo rm -rf /app/hadoop/tmp/

 

STEP 3:  create /app/hadoop/tmp/

 

hduser@skillmentorz-virtualbox : $ sudo mkdir -p /app/hadoop/tmp

hduser@skillmentorz-virtualbox : $ sudo chown hduser:hadoop /app/hadoop/tmp

hduser@skillmentorz-virtualbox : $ sudo chmod 750 /app/hadoop/tmp

 

STEP 4:  format namenode

 

hduser@skillmentorz-virtualbox : $ hdfs namenode -format

 

STEP 5 : start dfs

 

hduser@skillmentorz-virtualbox : $ /usr/local/hadoop/sbin/start-dfs.sh

STEP 6:  check jps

hduser@skillmentorz-virtualbox : $ jps

You will find all the daemons including Namenode running properly

Namenode

Secondary Namenode

Resource Manager

Data node

Node Manager

 

Thank you for your time.

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You

How can you recover from a NameNode failure in Hadoop cluster?
How can you recover from a Namenode failure in Hadoop?Why is Namenode so important?Namenode is the most important Hadoop service. It contains the location of all blocks in the cluster. It maintains the...
B

Biswanath Banerjee

0 0
0

Build an interactive Dictionary using Python 3.x
I have downloaded a 5MB data base consisting of words and their meanings in a json file . I want to write a python progrsm which will ask the user to enter a word and then the program will search through...
B

Biswanath Banerjee

0 0
0

Learn Python : Slicing out an email address
We take a small task of slicing out the username and domain name from an email address. We ask the user to type his email address. We take his email address and slice out first his username and then the...
B

Biswanath Banerjee

0 0
0

Learn Python : Formatting with the .format () method
A good way to format objects into your strings for print statements is with the string.format() method. The syntax is :'String here {} then also {}'.format('something1','something2')Example 1:print("This...
B

Biswanath Banerjee

0 1
0

Lets look at Apache Spark's Competitors. Who are the top Competitors to Apache Spark today.
Apache Spark is the most popular open source product today to work with Big Data. More and more Big Data developers are using Spark to generate solutions for Big Data problems. It is the de-facto standard...
B

Biswanath Banerjee

1 0
0
X

Looking for Hadoop Classes?

The best tutors for Hadoop Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Hadoop with the Best Tutors

The best Tutors for Hadoop Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more