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 7920063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:04:38+00:00 2026-06-03T16:04:38+00:00

I am installing hadoop on cygwin. I have a windows 7 64-bit machine and

  • 0

I am installing hadoop on cygwin. I have a windows 7 64-bit machine and i’ve been following the instrux here: http://alans.se/blog/2010/hadoop-hbase-cygwin-windows-7-x64/#software. I have passwordless SSH setup in cygwin and have installed hadoop 0.20.2.

When I issue bin/start-dfs.sh, I get the following:

starting namenode, logging to /usr/local/hadoop-0.20.2/bin/../logs/hadoop-T3S-namenode-t3s780mon.out
localhost: /usr/local/hadoop-0.20.2/bin/hadoop-daemon.sh: /usr/local/hadoop-0.20.2/bin/hadoop-daemon.sh: not found
localhost: /usr/local/hadoop-0.20.2/bin/hadoop-daemon.sh: /usr/local/hadoop-0.20.2/bin/hadoop-daemon.sh: not found

The file exists in that exact location. The permissions seem fine (it’s owned by “Administrators” and i’m running as a user who has “Administrators” privilege. And anyway, it’s finding and executing other scripts before getting to this point. This output happens at this line in the bin/slaves.sh script

for slave in `cat "$HOSTLIST"|sed  "s/#.*$//;/^$/d"`; do
 ssh $HADOOP_SSH_OPTS $slave $"${@// /\\ }" \
   2>&1 | sed "s/^/$slave: /" &
 if [ "$HADOOP_SLAVE_SLEEP" != "" ]; then
   echo "@@@ slave.sh is SLEEPING"
   sleep $HADOOP_SLAVE_SLEEP
 fi
done

Specifically at the “ssh…” line. And essentially, what that’s calling is (when it all the script variables are resolved):

ssh localhost cd /usr/local/hadoop-0.20.2/bin/.. ; /usr/local/hadoop-0.20.2/bin/hadoop-daemon.sh --config /usr/local/hadoop-0.20.2/bin/../conf start datanode

which, when i run manually (i.e., pasting it into the cygwin console) does not return any such error.

So what’s causing this script to fail at this point with this particular message? I assume it’s related to how i have ssh set up, but can’t puzzle it out, since i feel i’ve done all in a standard way…

thanks for any help / ideas / clues.

  • 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-03T16:04:41+00:00Added an answer on June 3, 2026 at 4:04 pm

    check the user in /etc/passwd. it must have a valid home dir and shell as defined in /etc/shells. next in the slave ssh command line, add the -l ${USER} to the ssh invocations.

    better yet, follow this tutorial: http://en.wikisource.org/wiki/User:Fkorning/Code/Hadoop-on-Cygwin

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

Sidebar

Related Questions

When installing Windows SDK v6.1, following the chromium instructions ( http://dev.chromium.org/developers/how-tos/build-instructions-windows ) I run
I've just finished installing Hadoop 0.20.2 under Cygwin on Windows 7 with Eclipse Helios
I tried installing Hadoop following this http://hadoop.apache.org/common/docs/stable/single_node_setup.html document. When I tried executing this bin/hadoop
While installing kinetsdk.msi in visual studio 2008 in my windows 7 64 bit, it
After installing one of my .Net apps on a Windows 7 machine I keep
When installing TortoiseHg on Windows x64, I have an option to install both x86
after installing XAMPP on linux i have seen the folder htdocs belongs to nobody.
Installing the RODBC package on Ubuntu is a bit of a kludge. First I
When installing Selenium using the following command line: pip install -U selenium I get
When installing packages in Python using pip, I came across the following error: unable

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.