hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NilsK (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-7051) hadoop-daemons.sh doesnt work in cygwin
Date Sun, 28 Nov 2010 03:59:38 GMT
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

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.

View raw message