使用cygwin安装hadoop:无法执行start-dfs.sh脚本

klr1opcd  于 2021-06-04  发布在  Hadoop
关注(0)|答案(0)|浏览(261)

我正在使用cygwin在windows 8桌面上安装hadoop-2.0.0-cdh4.3.0集群。尝试运行命令时出错。/sbin/start-dfs.sh堆栈跟踪无效-

  1. $ ./sbin/start-dfs.sh
  2. cygpath: can't convert empty path
  3. which: no hdfs in (./C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin)
  4. dirname: missing operand
  5. Try `dirname --help' for more information.
  6. 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
  7. cygpath: can't convert empty path
  8. C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin/hdfs: line 172: exec: : not foun d
  9. Starting namenodes on []
  10. cygpath: can't convert empty path
  11. cygpath: can't convert empty path
  12. localhost: bash: line 0: cd: C:cygwin64usrlocalhadoop-2.0.0-cdh4.3.0: No such fi le or directory
  13. localhost: Error: JAVA_HOME is not set and could not be found.
  14. cygpath: can't convert empty path
  15. cygpath: can't convert empty path
  16. localhost: bash: line 0: cd: C:cygwin64usrlocalhadoop-2.0.0-cdh4.3.0: No such fi le or directory
  17. localhost: Error: JAVA_HOME is not set and could not be found.
  18. which: no hdfs in (./C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin)
  19. dirname: missing operand
  20. Try `dirname --help' for more information.
  21. 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
  22. cygpath: can't convert empty path
  23. C:\cygwin64\usr\local\hadoop-2.0.0-cdh4.3.0/bin/hdfs: line 172: exec: : not foun d

请提出解决方案

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题