更新时间:2022-12-07 10:40:44
好像unix和windows之间的回车符引起了问题. 尝试在shell脚本上运行dos2unix
Seems like carriage return difference between unix and windows is causing the problem . Try running dos2unix on the shell script
转到hadoop bin目录,然后尝试:
Go to the hadoop bin directory and try :
dos2unix.exe hadoop.sh
然后尝试hadoop命令.
And then try the hadoop command .