当我发出这个命令时:
bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'
我收到了这些错误:
: No such file or directoryn/../libexec/hadoop-config.sh: line 26:
cd: /cygdrive/d/hadoop-1.2.1/libexec
/cygdrive/d/hadoop-1.2.1/bin/../libexec/hadoop-config.sh: line 80:
syntax error: unexpected end of file
cygpath: can't convert empty path
bin/hadoop: line 350: /cygdrive/C:/Program: No such file or directory
cygpath: can't convert empty path
bin/hadoop: line 434: /cygdrive/C:/Program Files/Java/jdk1.6.0_26/bin/java:
No such file or directory
bin/hadoop: line 434: exec: /cygdrive/C:/Program Files/Java/jdk1.6.0_26/bin/java: cannot execute: No such file or directory
我不知道为什么我会收到这些错误。