Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8917571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:31:26+00:00 2026-06-15T05:31:26+00:00

For my Hadoop experiments I’ve setup single node HDFS on localhost on my macbook.

  • 0

For my Hadoop experiments I’ve setup single node HDFS on localhost on my macbook.
Everytime after my experiments I shutdown hadoop services (./bin/stop-all.sh).

Almost every time when I start my setup again (start-all.sh), I find my HDFS corrupted, I always need to format my namenode and restart services to get access of HDFS again.

I realized this as I stop getting namenode admin access (http://localhost:50070/) after startup.

During startup my namenode logs says
“2012-11-29 15:27:43,160 ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem initialization failed.
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /private/tmp/hadoop-rupadhyay/dfs/name is in an inconsistent state: storage directory does not exist or is not accessible.”

I am not sure what I am missing here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:31:27+00:00Added an answer on June 15, 2026 at 5:31 am

    Using a tmp directory means that you have to be sure to clear the directory and reformat your name node every time you restart. This is because the OS may delete files at whim from the tmp directory leaving your hdfs in an unstable state.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently learning hadoop and I'm trying to setup a single node test as
I am implementing the Hadoop Single Node Cluster on my machine by following Michael
I installed hadoop 1.0.0 and tried out word counting example (single node cluster). It
I have setup hadoop on top of mongodb using hadoop-mongodb driver. Currently I can
I have been using Hadoop quite a while now. After some time I realized
I am writing to hadoop file system. But everytime I append something, it overwrites
When I connected my Hadoop cluster to Amazon storage and downloaded files to HDFS,
I am using hadoop-0.20.203.0rc1.tar.gz for my cluster setup. Whenever I set job.setMapOutputKeyClass(ByteBuffer.class); and run
In Hadoop when do reduce tasks start? Do they start after a certain percentage
I am configuring hadoop on clusters. All node started successfully, but secondary node failed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.