我正在使用cygwin在windows 8桌面上安装hadoop-2.0.0-cdh4.3.0集群。尝试运行命令时出错。/sbin/start-dfs.sh堆栈跟踪无效-
$ ./sbin/start-dfs.sh
cygpath: can't convert empty path
which: no hdfs in (./C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin)
dirname: missing operand
Try `dirname --help' for more information.
C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin/hdfs: line 24: /usr/local/hadoop -2.0.0-cdh4.3.0/../libexec/hdfs-config.sh: No such file or directory
cygpath: can't convert empty path
C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin/hdfs: line 172: exec: : not foun d
Starting namenodes on []
cygpath: can't convert empty path
cygpath: can't convert empty path
localhost: bash: line 0: cd: C:cygwin64usrlocalhadoop-2.0.0-cdh4.3.0: No such fi le or directory
localhost: Error: JAVA_HOME is not set and could not be found.
cygpath: can't convert empty path
cygpath: can't convert empty path
localhost: bash: line 0: cd: C:cygwin64usrlocalhadoop-2.0.0-cdh4.3.0: No such fi le or directory
localhost: Error: JAVA_HOME is not set and could not be found.
which: no hdfs in (./C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin)
dirname: missing operand
Try `dirname --help' for more information.
C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin/hdfs: line 24: /usr/local/hadoop -2.0.0-cdh4.3.0/../libexec/hdfs-config.sh: No such file or directory
cygpath: can't convert empty path
C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin/hdfs: line 172: exec: : not foun d
请提出解决方案
暂无答案!
目前还没有任何答案,快来回答吧!