Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updating ubuntu section of the wiki for the correct regex for flume and whirr packages

...

  1. Install the Apache Bigtop GPG key
    No Format
    wget -O- http://www.apache.org/dist/incubator/bigtop/stable/repos/GPG-KEY-bigtop | sudo apt-key add -
    
  2. Make sure to grab the repo file:
    No Format
    sudo wget -O /etc/apt/sources.list.d/bigtop.list http://www.apache.org/dist/incubator/bigtop/stable/repos/ubuntu/bigtop.list
    
  3. Enable the mirror that is closest to you (uncomment one and only one pair of deb/deb-src lines). If the downloads are too slow, try another mirror
    No Format
    sudo vi /etc/apt/sources.list.d/bigtop.list
    
  4. Update the apt cache
    No Format
    sudo apt-get update
    
  5. Browse through the artifacts
    No Format
    apt-cache search hadoop
    
  6. Make sure that you have the latest JDK installed on your system as well. You can either get it from the official Oracle website (http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u29-download-513648.html) or follow the advice given by your Linux distribution. If your JDK is installed in a non-standard location, make sure to add the line below to the /etc/default/hadoop file
    No Format
    export JAVA_HOME=XXXX
    
  7. Install the full Hadoop stack (or parts of it)
    No Format
    sudo apt-get install hadoop\* flume\-* mahout\* oozie\* whirr\-*
    

Running Hadoop

After installing Hadoop packages onto your Linux box, make sure that:

...