You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "NilsK (JIRA)" <ji...@apache.org> on 2010/11/28 04:59:37 UTC

[jira] Created: (HADOOP-7051) hadoop-daemons.sh doesnt work in cygwin

hadoop-daemons.sh doesnt work in cygwin
---------------------------------------

                 Key: HADOOP-7051
                 URL: https://issues.apache.org/jira/browse/HADOOP-7051
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.20.2
         Environment: Windows 7 64-Bit, Cygwin
            Reporter: NilsK
            Priority: Trivial



if you run Hadoop in Pseudo-Distributed Mode in Windows under Cygwin, your Datanode will fail to start on execution of "start-dsf.sh". In the log there will be a ClassNotFoundException for org.apache.hadoop.util.PlatformName.

The problem seems to be in 'hadoop-daemons.sh' in that line:
exec "$bin/slaves.sh" --config $HADOOP_CONF_DIR cd "$HADOOP_HOME" \; "$bin/hadoop-daemon.sh" --config $HADOOP_CONF_DIR "$@"

if you change it to:
"$bin/slaves.sh" --config $HADOOP_CONF_DIR cd "$HADOOP_HOME" ; "$bin/hadoop-daemon.sh" --config $HADOOP_CONF_DIR "$@"

the problems on cygwin are gone!



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.