We will consider Hadoop installation using two methods: using a TAR file on Ubuntu and using the .rpm
file on Red Hat distros. We will have a basic, running Hadoop cluster, and then we will set up an HBase cluster in detail. Execute the following steps:
Download Hadoop v2, the stable version of which is available at http://www.webhostingjams.com/mirror/. If you want a version other than the one we use here, you can always visit http://www.webhostingjams.com/mirror/apache/hadoop/common/ and download the version that you want to install.
We can download Hadoop using the
wget
command, as follows:Wget <full link of file which you get by clicking on the link and getting copy link address in web browser>
Alternatively, we can also open this link in a browser and download it. Once this file is downloaded, we need to extract and copy it to the location where we need to keep it.
We can find the configuration files that need to be changed in the
Hadoop-<version...