Note that there are some explanatory texts on larger screens.

plurals
  1. POhadoop with cygwin: hadoop-daemon.sh: not found
    primarykey
    data
    text
    <p>I am installing hadoop on cygwin. I have a windows 7 64-bit machine and i've been following the instrux here: <a href="http://alans.se/blog/2010/hadoop-hbase-cygwin-windows-7-x64/#software" rel="nofollow">http://alans.se/blog/2010/hadoop-hbase-cygwin-windows-7-x64/#software</a>. I have passwordless SSH setup in cygwin and have installed hadoop 0.20.2. </p> <p>When I issue bin/start-dfs.sh, I get the following:</p> <pre><code>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 </code></pre> <p>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</p> <pre><code>for slave in `cat "$HOSTLIST"|sed "s/#.*$//;/^$/d"`; do ssh $HADOOP_SSH_OPTS $slave $"${@// /\\ }" \ 2&gt;&amp;1 | sed "s/^/$slave: /" &amp; if [ "$HADOOP_SLAVE_SLEEP" != "" ]; then echo "@@@ slave.sh is SLEEPING" sleep $HADOOP_SLAVE_SLEEP fi done </code></pre> <p>Specifically at the "ssh..." line. And essentially, what that's calling is (when it all the script variables are resolved):</p> <pre><code>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 </code></pre> <p>which, when i run manually (i.e., pasting it into the cygwin console) does not return any such error.</p> <p>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...</p> <p>thanks for any help / ideas / clues.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload