在ubuntu中没有这样的文件或目录



收到以下错误堆栈:

dhruv@dhruv-Inspiron-N5010: ~/下载/hadoop-2.7.1/bin $ cd

dhruv@dhruv-Inspiron-N5010:~$ cd Downloads/hadoop-2.7.1/sbin

dhruv@dhruv-Inspiron-N5010: ~/下载/hadoop-2.7.1/sbin美元sbin/start-dfs.sh

-bash: sbin/start-dfs.sh: No such file or directory

dhruv@dhruv-Inspiron-N5010: ~/下载/hadoop-2.7.1/sbin美元sbin/start-all.sh

-bash: sbin/start-all.sh:没有这样的文件或目录

dhruv@dhruv-Inspiron-N5010: ~/下载/hadoop-2.7.1/sbin ssh美元localhost

欢迎使用Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)

  • 文档:https://help.ubuntu.com/

Last login: thoct 8 10:50:16 2015 from localhost

dhruv@dhruv-Inspiron-N5010:~$ cd Downloads/hadoop-2.7.1/sbin

dhruv@dhruv-Inspiron-N5010: ~/下载/hadoop-2.7.1/sbin美元sbin/start-dfs.sh

-bash: sbin/start-dfs.sh: No such file or directory

您已经更改到sbin目录,所以现在您必须使用

。/start-dfs.sh

不是

sbin/start-dfs.sh

start-all.sh是一个文件而不是目录,要运行这样的文件,必须在可执行文件

前使用' ./'

试题:./start-all.sh

相关内容

  • 没有找到相关文章

最新更新