Time for action – downloading Hadoop

Carry out the following steps to download Hadoop:

  1. Go to the Hadoop download page at http://hadoop.apache.org/common/releases.html and retrieve the latest stable version of the 1.0.x branch; at the time of this writing, it was 1.0.4.
  2. You'll be asked to select a local mirror; after that you need to download the file with a name such as hadoop-1.0.4-bin.tar.gz.
  3. Copy this file to the directory where you want Hadoop to be installed (for example, /usr/local), using the following command:
    $ cp Hadoop-1.0.4.bin.tar.gz /usr/local
    
  4. Decompress the file by using the following command:
    $ tar –xf hadoop-1.0.4-bin.tar.gz
    
  5. Add a convenient symlink to the Hadoop installation directory.
    $ ln -s /usr/local/hadoop-1.0.4 /opt/hadoop ...

Get Hadoop Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.