fahim
fahim

Reputation: 59

start-dfs.sh: command not found

I have installed hadoop 2.7.0. on Ubuntu 14.04. But the code start-dfs.sh is not working. when I run this code It returns start-dfs.sh: command not found. The start-dfs.sh, start-all.sh , stop-dfs.sh and stop-all.sh are in the sbin directory. I have installed and set the paths of java and hadoop correctly. The codes hadoop version and ssh localhost also working. what might be the problem?

Upvotes: 6

Views: 17183

Answers (1)

gwgyk
gwgyk

Reputation: 460

Does the file start-dfs.shexists in the directory ${HADOOP_HOME}/bin? If not, please try to run commond sbin/start-dfs.sh.

Upvotes: 13

Related Questions