你們中的任何一個人可以幫助我如何在Windows服務器上安裝hadoop與cygwin實際上,當我設置JAVA_HOME
變量hadoop-env.sh
文件它總是給出一個錯誤,如EOF command not found
,也請任何一個你告訴我如何在hadoop中創建集羣並導入csv文件?在windows上配置Hadoop 1.2.0
$ bin/hadoop namenode -format /home/My/hadoop-1.2.1/libexec/../conf/hadoop-env.sh: line 2: $'\r': command not found /home/My/hadoop-1.2.1/libexec/../conf/hadoop-env.sh: line 7: $'\r': command not found /home/My/hadoop-1.2.1/libexec/../conf/hadoop-env.sh: line 31: unexpected EOF whi le looking for matching '"' /home/My/hadoop-1.2.1/libexec/../conf/hadoop-env.sh: line 58: syntax error: unexpected end of file Warning: $HADOOP_HOME is deprecated.
這是上述錯誤。
在此先感謝。