hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay <su1...@yahoo.com>
Subject Hadoop does not start on Windows XP
Date Sun, 05 Feb 2012 06:56:40 GMT
Hi,

In Windows XP I installed Cygwin and tried to run Hadoop:

W1234@W19064-00 /cygdrive/d/Profiles/w1234/My Documents/Hadoop/hadoop1.0/hadoop-1.0.0
$ bin/hadoop start-all.sh
bin/hadoop: line 2: $'\r': command not found
bin/hadoop: line 17: $'\r': command not found
bin/hadoop: line 18: $'\r': command not found
bin/hadoop: line 49: $'\r': command not found
: No such file or directoryn
bin/hadoop: line 52: $'\r': command not found
bin/hadoop: line 60: syntax error near unexpected token `$'in\r''
'in/hadoop: line 60: `case "`uname`" in
$


I have this in the file hadoop-env.sh

export JAVA_HOME=c:\\Program\ Files\\Java\\jdk1.7.0_02

How could I possibly fix it?

Thanks a lot!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message