FAQ
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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedNov 28, '10 at 4:00a
activeNov 28, '10 at 4:00a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

NilsK (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase