more snappy edit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1417059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
690f61be12
commit
186b8ce11e
|
@ -3055,12 +3055,6 @@ hbase> describe 't1'</programlisting>
|
|||
<title>
|
||||
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
|
||||
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue