In order to install Hadoop, we will need to locate the tar.gz
file that contains the most recent stable release from the Apache website.
Before downloading this file you should create a directory on your Raspberry Pi to place the file in and to store your Hadoop projects.
Under your /home/pi
directory, create the hadoop
folder using the following command:
mkdir hadoop
Next navigate into this directory using the cd
command:
cd hadoop
Now that we have a place to store our code, we can grab the latest version of Hadoop at the following link:
http://www.apache.org/dyn/closer.cgi/hadoop/common
We will download the tar.gz
file you selected from the download website using wget. The following command illustrates this process:
wget http://apache.osuosl.org/hadoop/common/hadoop-1.2.1/hadoop-1.2.1.tar.gz
Remember to replace the URL with the mirror you selected from the download page and the version number (in our example 1.2.1) with the one you have chosen.
Once the file has finished...