Hadoop-Snappy enables Snappy compression for Hadoop.
http://code.google.com/p/hadoop-snappy/
This project is integrated into Hadoop Common (JUN 2011).
Hadoop-Snappy can be used as an add-on for recent (released) versions of Hadoop that do not provide Snappy Codec support yet.
Hadoop-Snappy is being kept in synch with Hadoop Common.
Requirements: gcc c++, autoconf, automake, libtool, Java 6, JAVA_HOME set, Maven 3
Build/install Snappy (http://code.google.com/p/snappy/)
Build Hadoop Snappy
$ mvn package [-Dsnappy.prefix=SNAPPY_INSTALLATION_DIR]
'snappy.prefix' by default is '/usr/local'. If Snappy is installed in other location than user local set 'snappy.prefix' to the right location.
The built tarball is at target/hadoop-snappy-0.0.1-SNAPSHOT.tar.gz. The tarball includes snappy native library
Copy (recursively) the lib directory of the expanded tarball in
the
$ cp -r hadoop-snappy-0.0.1-SNAPSHOT/lib/*
IMPORTANT: Hadoo Snappy 0.0.1-SNAPSHOT tarball includes Snappy native library.
Add the following key/value pairs into core-site.xml
Restart Hadoop.
Hadoop Snappy is licensed under the the Apache License, Version 2.0. Snappy is licensed under the the Apache License, Version 2.0.
This project is based on the Hadoop LZO codec classes.
The authors of the Hadoop LZO codec classes gave permission to relicense as the Apache License 2.0 (Todd Lipcon, Kevin Weil, Owen O'Malley, Hong Tang, Chris Douglas, Arun C Murthy) Thanks!
http://code.google.com/p/hadoop-gpl-compression https://github.com/kevinweil/hadoop-lzo