我正在使用cygwin在windows中安装hadoop0.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条答案
按热度按时间p4tfgftt1#
通过下面的链接设置hadoop环境
http://cs.smith.edu/dftwiki/index.php/hadoop_tutorial_1_--_running_wordcount#basic_hadoop_admin_commands.