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?
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?
Instead use start-dfs.sh and start-yarn.sh So, it's better to invoke, start-dfs.sh located on the same directory itself. Thanks for contributing an answer to Ask Ubuntu!
Summary: While Hadoop installation sbin path mandatory because here all daemons files are available otherwise will get start-all.sh, command not found an error in Linux box.
How to debugging Hadoop daemons are not started in Linux getting start-all.sh, command not found in putty (terminal). First to check core-site.xml, hdfs-site.xml and yarn-site.xml and etc in Hadoop folder first.
Does the file start-dfs.sh
exists in the directory ${HADOOP_HOME}/bin
? If not, please try to run commond sbin/start-dfs.sh
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With