-1

Receiving following error stack:

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

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

dhruv@dhruv-Inspiron-N5010:~/Downloads/hadoop-2.7.1/sbin$ sbin/start-dfs.sh

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

dhruv@dhruv-Inspiron-N5010:~/Downloads/hadoop-2.7.1/sbin$ sbin/start-all.sh

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

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

Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)

Last login: Thu Oct 8 10:50:16 2015 from localhost

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

dhruv@dhruv-Inspiron-N5010:~/Downloads/hadoop-2.7.1/sbin$ sbin/start-dfs.sh

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

Abhinav Singh Maurya
  • 3,313
  • 8
  • 33
  • 51

2 Answers2

0

You already changed to the sbin directory, so now you have to use

./start-dfs.sh

instead of

sbin/start-dfs.sh

Axel
  • 13,939
  • 5
  • 50
  • 79
0

start-all.sh is a file not a directory, to run such files you must use ' ./ ' before the executable file,

try : ./start-all.sh