Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88873F29C for ; Wed, 3 Apr 2013 20:53:25 +0000 (UTC) Received: (qmail 77053 invoked by uid 500); 3 Apr 2013 20:53:23 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 77006 invoked by uid 500); 3 Apr 2013 20:53:23 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 76992 invoked by uid 99); 3 Apr 2013 20:53:23 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 20:53:23 +0000 Received: from localhost (HELO mail-ve0-f171.google.com) (127.0.0.1) (smtp-auth username apurtell, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 20:53:23 +0000 Received: by mail-ve0-f171.google.com with SMTP id b10so2102243vea.30 for ; Wed, 03 Apr 2013 13:53:22 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.58.65.2 with SMTP id t2mr2610328ves.28.1365022402001; Wed, 03 Apr 2013 13:53:22 -0700 (PDT) Received: by 10.58.128.170 with HTTP; Wed, 3 Apr 2013 13:53:21 -0700 (PDT) In-Reply-To: <515C95FA.7030909@kickflop.net> References: <515C8F2E.9060300@kickflop.net> <515C95FA.7030909@kickflop.net> Date: Wed, 3 Apr 2013 13:53:21 -0700 Message-ID: Subject: Re: Failing to get Snappy working (hours now - native snappy library not available) - Help? From: Andrew Purtell To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=047d7bacbcc86221ae04d97b0bdc --047d7bacbcc86221ae04d97b0bdc Content-Type: text/plain; charset=ISO-8859-1 Yes Jeff, I agree and will take care of it. Thanks for bringing this to our attention. On Wednesday, April 3, 2013, Jeff Blaine wrote: > On 4/3/2013 4:42 PM, Andrew Purtell wrote: > >> Make sure the path to the libhadoop SO is on LD_LIBRARY_PATH or somewhere >> in /etc/ld.so.conf (and if the latter then also rebuild the ld cache with >> /sbin/ldconfig) >> > > Thanks Andrew. > > If that's required to even get things working, shouldn't the > documentation mention that? :( > > On Wednesday, April 3, 2013, Jeff Blaine wrote: >> >> Hello, >>> >>> I cannot see what is amiss with the following configuration. I have >>> followed, to the best of my knowledge, the instructions to a "T". >>> >>> If anyone could shed some light, I would be grateful. All HBase >>> hosts have the exact same configuration shown below and non-SNAPPY >>> table operations work fine... >>> >>> $ id >>> uid=30000(hadoop) gid=30000(hadoop) groups=30000(hadoop) >>> $ uname -i >>> x86_64 >>> $ pwd >>> /hbase-0.92.2 >>> $ grep HBASE_LIBRARY_PATH conf/hbase-env.sh >>> export HBASE_LIBRARY_PATH="/hadoop-1.****0.4/lib/native/Linux-amd64-** >>> 64" >>> $ cd /hadoop-1.0.4/lib/native/****Linux-amd64-64 >>> $ ls -l >>> total 1456 >>> -rw-rw-r-- 1 hadoop root 405228 Oct 3 05:14 libhadoop.a >>> -rw-rw-r-- 1 hadoop root 878 Oct 3 05:14 libhadoop.la >>> -rw-rw-r-- 1 hadoop root 219217 Oct 3 05:14 libhadoop.so >>> -rw-rw-r-- 1 hadoop root 219217 Oct 3 05:14 libhadoop.so.1 >>> -rw-rw-r-- 1 hadoop root 219217 Oct 3 05:14 libhadoop.so.1.0.0 >>> -rw-rw-r-- 1 hadoop ubuntu 136297 Apr 3 19:46 libsnappy.so >>> -rw-rw-r-- 1 hadoop ubuntu 136297 Apr 3 19:47 libsnappy.so.1 >>> -rw-rw-r-- 1 hadoop ubuntu 136297 Apr 3 19:46 libsnappy.so.1.1.4 >>> $ /hbase-0.92.2/bin/hbase shell >>> HBase Shell; enter 'help' for list of supported commands. >>> Type "exit" to leave the HBase Shell >>> Version 0.92.2, r1379292, Fri Aug 31 13:13:53 UTC 2012 >>> >>> hbase(main):001:0> create 'non', 'cf' >>> 0 row(s) in 4.0720 seconds >>> >>> hbase(main):002:0> create 'comp', { NAME => 'foo', COMPRESSION => >>> 'SNAPPY' >>> } >>> [ The command above never returns ] >>> ^C >>> $ >>> >>> Logs show: >>> >>> 2013-04-03 18:07:11,992 WARN org.apache.hadoop.io.compress.** >>> **snappy.LoadSnappy: >>> Snappy native library not loaded >>> java.io.IOException: java.lang.RuntimeException: native snappy library >>> not >>> available >>> >>> >> >> -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White) --047d7bacbcc86221ae04d97b0bdc--