4

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?

1
  • Which ppa? because ppa:hadoop-ubuntu/stable does not provide 14.10 packages (only 14.04) Feb 27, 2015 at 15:24

2 Answers 2

3

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/ 
4
  • If that works, please suggest an edit to the tuturial to fix the paths Feb 27, 2015 at 15:10
  • I did not create a new user for it. But it's not inside that, or I am looking inside the wrong place maybe Feb 27, 2015 at 15:17
  • @prodicus you could also try sudo updatedb && locate start-all.sh Feb 27, 2015 at 15:38
  • Found it. Was inside /usr/lib/hadoop/bin/ Feb 27, 2015 at 15:43
1

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
1
  • Why downvote???? Jul 2, 2015 at 2:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .