I have installed hadoop inside the /usr/local/hadoop/bin
directory. When I try executing the bash script start-all.sh
, the system gives below error:
start-all.sh: command not found
Furthermore, I don't see any of the following in usr/local/hadoop/bin
:
stopall.sh
start-dfs.sh
stop-dfs.sh
start-all.sh
stop-all.sh
It doesn't have the /usr/local/hadoop/conf/hadoop-env.sh
file either, so I created a hadoop-env.sh
file and set the java home env variable as:
The java implementation to use. Required.
export JAVA_HOME=/usr/lib/jvm/java-6-sun