Install Apache Big Top on Ubuntu
Below is the steps you can follow to install Appache Big Top on Ubuntu. For those that don’t know Apache BigTop is a project for the development of packaging and tests of the Apache Hadoop ecosystem.
Step 1: First you have to install the Big GPG Key
wget -O- http://www.apache.org/dist/incubator/bigtop/stable/repos/GPG-KEY-bigtop | sudo apt-key add -
Step 2: Do a wget to rectrieve the BigTop repo files and add to bigtop.list
sudo wget -O /etc/apt/sources.list.d/bigtop.list http://www.apache.org/dist/incubator/bigtop/stable/repos/ubuntu/bigtop.list
Step 3: Now we have all the repo files of bigtop and just need to select the one closet to your geography:
sudo vi /etc/apt/sources.list.d/bigtop.list
Uncomment (remove the #) in front of the deb and deb-src lines for the repo that is closest to you. Uncomment one and only one pair of deb/deb-src lines.
Step 4: Now we can update apt
sudo apt-get update
Step 5: Lets see if hadoop is part of the repo we selected
apt-cache search hadoop
You will see all the hadoop packages
Step 6: Install Sun Java, look at this post to download Sun-Java from command line.
Step 7: export JAVA_HOME=XXXX
Step 8: Install the Hadoop stack
sudo apt-get install hadoop\* flume-* mahout\* oozie\* whirr-*