0

我正在使用 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..."

请告诉我一个解决方案!

4

1 回答 1

1

通过以下链接并设置 hadoop 环境

http://cs.smith.edu/dftwiki/index.php/Hadoop_Tutorial_1_--_Running_WordCount#Basic_Hadoop_Admin_Commands

于 2013-09-16T11:10:19.090 回答