I have installed Hadoop by following this tutorial.
I installed it using ppa.
When I reached step 12 : Starting Hadoop Cluster.
I got stuck.
When I do cd ~/tasdik/hadoop/bin/ It says no such file or directory.
Any suggestions?
I have installed Hadoop by following this tutorial.
I installed it using ppa.
When I reached step 12 : Starting Hadoop Cluster.
I got stuck.
When I do cd ~/tasdik/hadoop/bin/ It says no such file or directory.
Any suggestions?
The tutorial step 2 asked to create a new user: hduser.
So if you decided to adopt this username for the Hadoop user, the path of start-all.sh should be:
cd /home/hduser/hadoop/bin/
start-all.sh
Or if installed system-wide:
/usr/lib/hadoop/bin/
I have found the start-all.sh file on /hadoop-x.x.x/sbin directory.
path/to/hadoop-x.x.x/sbin/start-all.sh
where hadoop-x.x.x is a directory which was created on extracting the downloaded the hadoop.tar.gz file.
If you initiate the file, it would show
$ bash /home/foo/hadoop-2.7.0/sbin/start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
So, it's better to invoke, start-dfs.sh located on the same directory itself.
bash /home/foo/hadoop-2.7.0/sbin/start-dfs.sh