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

  • Home
  • SEARCH
  • 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 7857891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:11:13+00:00 2026-06-02T21:11:13+00:00

I am setting up a single node cluster on Ubuntu and using the usual

  • 0

I am setting up a single node cluster on Ubuntu and using the usual guides,
Running Hadoop on Ubuntu Linux (Single-Node Cluster).

All goes well until I get to formatting the HDFS Namenode

hduser@ubuntu:~$ /usr/local/hadoop/bin/hadoop namenode -format

or

hadoop@ubuntu:~$ <HADOOP_INSTALL>/hadoop/bin/hadoop namenode -format

I am unable to find the correct location to run this command.
This is most likely due to my unfamiliarity with Linux.

I installed Hadoop using the deb from the 17 Oct, 2011: release 0.20.205.0

  • 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-02T21:11:15+00:00Added an answer on June 2, 2026 at 9:11 pm

    The articles you list instruct you to explicitly install hadoop to /usr/local, but if you didn’t install it in this location then there is a trick you can employ to find where you actually installed hadoop:

    #> sudo updatedb
    #> locate start-dfs.sh
    /opt/hadoop-0.20.2/bin/start-dfs.sh
    #> ls -l /opt/hadoop-0.20.2/bin/
    hadoop             rcc                start-dfs.sh      stop-dfs.sh
    hadoop-config.sh   slaves.sh          start-mapred.sh   stop-mapred.sh
    hadoop-daemon.sh   start-all.sh       stop-all.sh
    hadoop-daemons.sh  start-balancer.sh  stop-balancer.sh
    

    This should list the location of the hadoop start-dfs.sh command, and in this location will also be the hadoop script you are looking for.

    If you installed Hadoop from a deb package (as you note towards the end), then you can follow the instructions in this post to list the contents of the deb, and hopefully find where the package was installed to:

    • https://superuser.com/questions/82923/how-to-list-files-of-a-debian-package-without-install
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am setting up a single node install of Cassandra on my Ubuntu VM.
Appears that java's sound API's work well for single streams, and even for setting
I can make a single row IKImageBrowserView by setting the [imageBrowser setContentResizingMask:NSViewWidthSizable]; but in
Is there a setting in ReSharper to automatically format single-statement IF statments with the
Setting up new git installations. On one Windows laptop, I'm running (under cygwin): git
Setting onchange event for CheckBoxList using the following code doesn't work. chkListUserGroup.Attributes.Add(onchange, document.forms[0].isRecordModified.value='true';); How
Setting a Magento store for a winery. They well bottles of wine, but you
Setting up the sandboxes for all these option is not feasible right now. So
I am setting up a cron job to run a single PHP script which
I'm using one server to host multiple Node.js web apps, which are distributed across

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.