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

CheckPointing Process - Hadoop
CHECK POINTING Checkpointing process is one of the vital concept/activity under Hadoop. The Name node stores the metadata information in its hard disk. We all know that metadata is the heart core...

Big Data & Hadoop - Introductory Session - Data Science for Everyone
Data Science for Everyone An introductory video lesson on Big Data, the need, necessity, evolution and contributing factors. This is presented by Skill Sigma as part of the "Data Science for Everyone" series.

Design Pattern
Prototype Design Pattern: Ø Prototype pattern refers to creating duplicate object while keeping performance in mind. Ø This pattern involves implementing a prototype interface which tells...

BigDATA HADOOP Infrastructure & Services: Basic Concept
Hadoop Cluster & Processes What is Hadoop Cluster? Hadoop cluster is the collections of one or more than one Linux Boxes. In a Hadoop cluster there should be a single Master(Linux machine/box) machine...

How to create UDF (User Defined Function) in Hive
1. User Defined Function (UDF) in Hive using Java. 2. Download hive-0.4.1.jar and add it to lib-> Buil Path -> Add jar to libraries 3. Q:Find the Cube of number passed: import org.apache.hadoop.hive.ql.exec.UDF; public...
S

Sachin Patil

0 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