hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Petty <ronald.pe...@gmail.com>
Subject Re: Hadoop does not start on Windows XP
Date Sun, 05 Feb 2012 22:28:28 GMT
Jay,

What does the following give you on the command line?

bin=`dirname "$0"`   //also try =`dirname "."`

echo $bin

Regards.

Ron

On Sat, Feb 4, 2012 at 10:56 PM, Jay <su11us@yahoo.com> wrote:

> 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