在使用cygwin在windows中安装hadoop时无法格式化namenode

vfh0ocws  于 2021-06-03  发布在  Hadoop
关注(0)|答案(1)|浏览(475)

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

请告诉我一个解决办法!

p4tfgftt

p4tfgftt1#

通过下面的链接设置hadoop环境
http://cs.smith.edu/dftwiki/index.php/hadoop_tutorial_1_--_running_wordcount#basic_hadoop_admin_commands.

相关问题