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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/09/14 20:25:34 UTC
[jira] [Resolved] (HADOOP-7051) hadoop-daemons.sh doesnt work in
cygwin
[ https://issues.apache.org/jira/browse/HADOOP-7051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-7051.
--------------------------------------
Resolution: Won't Fix
Closing as won't fix. cygwin support is being removed.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)