You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Vikrant Telang <vi...@klouddata.com> on 2012/09/10 09:03:37 UTC

Not able to install hadoop in windows Xp

Hello,

I need to install the single node hadoop in my local machine. It is windows
Xp 32 bit.  I tried everything to install it. But it is giving me following
error.

 

 

vikrantt@KDWS-09 /usr/local/hadoop-0.20.2

$ bin/hadoop version

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 2: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 7: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 10: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 13: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 16: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 19: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 29: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 32: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 35: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 38: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 41: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 46: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 49: $'\r': command
not found

/usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 52: $'\r': command
not found

/bin/java: No such file or directoryva/jdk1.5.0_14

/bin/java: No such file or directoryva/jdk1.5.0_14

/bin/java: cannot execute: No such file or directory0_14

 

Please, give me the solution foe this error. 

 


Thanks,

Vikrant Telang


Sr. Software Developer

 


KloudData Inc.

Central Facility Building,

1st Floor, A-Block,Mihan SEZ,

Nagpur-441108 (India)

Email :  <ma...@klouddata.com> vikrantt@klouddata.com  

M : +91 9890709006

 

cid:part1.07030704.04000102@klouddata.com

 


Re: Not able to install hadoop in windows Xp

Posted by Harsh J <ha...@cloudera.com>.
Your edited config files seem to now carry windows newlines. This won't
work well with shells. Run "dos2unix <config directory>/*" in your Cygwin
shell, to revert the newlines back to unix-style newlines (just \n instead
of \n\r).

On Mon, Sep 10, 2012 at 12:33 PM, Vikrant Telang <vi...@klouddata.com>wrote:

> Hello,****
>
> I need to install the single node hadoop in my local machine. It is
> windows Xp 32 bit.  I tried everything to install it. But it is giving me
> following error.****
>
> ** **
>
> ** **
>
> vikrantt@KDWS-09 /usr/local/hadoop-0.20.2****
>
> $ bin/hadoop version****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 2: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 7: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 10: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 13: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 16: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 19: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 29: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 32: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 35: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 38: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 41: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 46: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 49: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 52: $'\r':
> command not found****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: cannot execute: No such file or directory0_14****
>
> ** **
>
> Please, give me the solution foe this error. ****
>
> ** **
>
> *Thanks,*
>
> *Vikrant Telang*****
>
> *Sr. Software Developer***
>
>  ****
>
> *KloudData Inc.***
>
> Central Facility Building,****
>
> 1st Floor, A-Block,Mihan SEZ,**
>
> Nagpur-441108 (India)****
>
> Email : vikrantt@klouddata.com  ****
>
> M : +91 9890709006****
>
>  ****
>
> [image: cid:part1.07030704.04000102@klouddata.com]****
>
> ** **
>



-- 
Harsh J

Re: Not able to install hadoop in windows Xp

Posted by Harsh J <ha...@cloudera.com>.
Your edited config files seem to now carry windows newlines. This won't
work well with shells. Run "dos2unix <config directory>/*" in your Cygwin
shell, to revert the newlines back to unix-style newlines (just \n instead
of \n\r).

On Mon, Sep 10, 2012 at 12:33 PM, Vikrant Telang <vi...@klouddata.com>wrote:

> Hello,****
>
> I need to install the single node hadoop in my local machine. It is
> windows Xp 32 bit.  I tried everything to install it. But it is giving me
> following error.****
>
> ** **
>
> ** **
>
> vikrantt@KDWS-09 /usr/local/hadoop-0.20.2****
>
> $ bin/hadoop version****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 2: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 7: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 10: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 13: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 16: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 19: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 29: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 32: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 35: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 38: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 41: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 46: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 49: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 52: $'\r':
> command not found****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: cannot execute: No such file or directory0_14****
>
> ** **
>
> Please, give me the solution foe this error. ****
>
> ** **
>
> *Thanks,*
>
> *Vikrant Telang*****
>
> *Sr. Software Developer***
>
>  ****
>
> *KloudData Inc.***
>
> Central Facility Building,****
>
> 1st Floor, A-Block,Mihan SEZ,**
>
> Nagpur-441108 (India)****
>
> Email : vikrantt@klouddata.com  ****
>
> M : +91 9890709006****
>
>  ****
>
> [image: cid:part1.07030704.04000102@klouddata.com]****
>
> ** **
>



-- 
Harsh J

Re: Not able to install hadoop in windows Xp

Posted by Harsh J <ha...@cloudera.com>.
Your edited config files seem to now carry windows newlines. This won't
work well with shells. Run "dos2unix <config directory>/*" in your Cygwin
shell, to revert the newlines back to unix-style newlines (just \n instead
of \n\r).

On Mon, Sep 10, 2012 at 12:33 PM, Vikrant Telang <vi...@klouddata.com>wrote:

> Hello,****
>
> I need to install the single node hadoop in my local machine. It is
> windows Xp 32 bit.  I tried everything to install it. But it is giving me
> following error.****
>
> ** **
>
> ** **
>
> vikrantt@KDWS-09 /usr/local/hadoop-0.20.2****
>
> $ bin/hadoop version****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 2: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 7: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 10: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 13: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 16: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 19: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 29: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 32: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 35: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 38: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 41: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 46: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 49: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 52: $'\r':
> command not found****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: cannot execute: No such file or directory0_14****
>
> ** **
>
> Please, give me the solution foe this error. ****
>
> ** **
>
> *Thanks,*
>
> *Vikrant Telang*****
>
> *Sr. Software Developer***
>
>  ****
>
> *KloudData Inc.***
>
> Central Facility Building,****
>
> 1st Floor, A-Block,Mihan SEZ,**
>
> Nagpur-441108 (India)****
>
> Email : vikrantt@klouddata.com  ****
>
> M : +91 9890709006****
>
>  ****
>
> [image: cid:part1.07030704.04000102@klouddata.com]****
>
> ** **
>



-- 
Harsh J

Re: Not able to install hadoop in windows Xp

Posted by Harsh J <ha...@cloudera.com>.
Your edited config files seem to now carry windows newlines. This won't
work well with shells. Run "dos2unix <config directory>/*" in your Cygwin
shell, to revert the newlines back to unix-style newlines (just \n instead
of \n\r).

On Mon, Sep 10, 2012 at 12:33 PM, Vikrant Telang <vi...@klouddata.com>wrote:

> Hello,****
>
> I need to install the single node hadoop in my local machine. It is
> windows Xp 32 bit.  I tried everything to install it. But it is giving me
> following error.****
>
> ** **
>
> ** **
>
> vikrantt@KDWS-09 /usr/local/hadoop-0.20.2****
>
> $ bin/hadoop version****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 2: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 7: $'\r': command
> not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 10: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 13: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 16: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 19: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 29: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 32: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 35: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 38: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 41: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 46: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 49: $'\r':
> command not found****
>
> /usr/local/hadoop-0.20.2/bin/../conf/hadoop-env.sh: line 52: $'\r':
> command not found****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: No such file or directoryva/jdk1.5.0_14****
>
> /bin/java: cannot execute: No such file or directory0_14****
>
> ** **
>
> Please, give me the solution foe this error. ****
>
> ** **
>
> *Thanks,*
>
> *Vikrant Telang*****
>
> *Sr. Software Developer***
>
>  ****
>
> *KloudData Inc.***
>
> Central Facility Building,****
>
> 1st Floor, A-Block,Mihan SEZ,**
>
> Nagpur-441108 (India)****
>
> Email : vikrantt@klouddata.com  ****
>
> M : +91 9890709006****
>
>  ****
>
> [image: cid:part1.07030704.04000102@klouddata.com]****
>
> ** **
>



-- 
Harsh J