hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1417059 - /hbase/trunk/src/docbkx/book.xml
Date Tue, 04 Dec 2012 17:46:45 GMT
Author: stack
Date: Tue Dec  4 17:46:43 2012
New Revision: 1417059

URL: http://svn.apache.org/viewvc?rev=1417059&view=rev
Log:
more snappy edit

Modified:
    hbase/trunk/src/docbkx/book.xml

Modified: hbase/trunk/src/docbkx/book.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/book.xml?rev=1417059&r1=1417058&r2=1417059&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/book.xml (original)
+++ hbase/trunk/src/docbkx/book.xml Tue Dec  4 17:46:43 2012
@@ -3056,12 +3056,6 @@ hbase> describe 't1'</programlisting>
     Installation
     </title>
     <para>
-        In order to install Snappy on you HBase server, you need to make sure both Snappy
and Hadoop native libraries are
-        copied at the right place. Native libraries need to be installed under ${HBASE_HOME}/lib/native/Linux-amd64-64
or
-        ${HBASE_HOME}/lib/native/Linux-i386-32 depending on your server architecture.
-    </para>
-
-    <para>
         You will find the snappy library file under the .libs directory from your Snappy
build (For example
         /home/hbase/snappy-1.0.5/.libs/). The file is called libsnappy.so.1.x.x where 1.x.x
is the version of the snappy
         code you are building. You can either copy this file into your hbase directory under
libsnappy.so name, or simply
@@ -3078,6 +3072,16 @@ hbase> describe 't1'</programlisting>
         At the end of the installation, you should have both libsnappy.so and libhadoop.so
links or files present into
         lib/native/Linux-amd64-64 or into lib/native/Linux-i386-32
     </para>
+    <para>To point hbase at snappy support, in hbase-env.sh set
+        <programlisting>export HBASE_LIBRARY_PATH=/pathtoyourhadoop/lib/native/Linux-amd64-64</programlisting>
+        In <filename>/pathtoyourhadoop/lib/native/Linux-amd64-64</filename> you
should have something like:
+        <programlisting>
+        libsnappy.a
+        libsnappy.so
+        libsnappy.so.1
+        libsnappy.so.1.1.2
+    </programlisting>
+    </para>
     </section>
     </section>
     <section xml:id="changing.compression">



Mime
View raw message