On Tue, Aug 26, 2014 at 4:25 PM, [email protected] < [email protected]> wrote:
> Exception in thread "main" java.lang.RuntimeException: native snappy > library not available: this version of libhadoop was built without snappy > support. You are almost there. Unfortunately the native Hadoop libraries you copied into HBase's lib/native/Linux-amd64-64/ directory were apparently built without snappy support, as the exception indicates. You'll need to compile the native Hadoop libraries with snappy support enabled. Install snappy-revel as Alex mentioned and then build the Hadoop native libraries. 1. Get Hadoop sources for the Hadoop version 2. tar xvzf .... 3. cd /path/to/hadoop/src 4. mvn -DskipTests clean install -Drequire.snappy=true -Pnative 5. cp hadoop-common-project/hadoop-common/target/native/target/usr/local/lib/libhadoop.* /path/to/hbase/lib/native/Linux-amd64-64 (The -Drequire.snappy=true will fail the build if Snappy link libraries are not installed, so you can be sure of this.) -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)
