在使用cygwin的Windows上的hadoop安装期间无法格式化namenode

时间:2013-09-10 13:53:47

标签: hadoop cygwin hdfs

我正在使用Cygwin在Windows中安装Hadoop 0.19.1。格式化namenode时,我得到以下错误..

: No such file or directory
./hadoop: line 43: $'\r': command not found 
: No such file or directorycot/hadoop-0.19.1/bin 
./hadoop: line 45: $'\r': command not found 
./hadoop: line 47: syntax error near unexpected token `$'in\r'' 
'/hadoop: line 47: `case "`uname`" in..."

请告诉我一个解决方案!

1 个答案:

答案 0 :(得分:1)