Add note on rpc configurations

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1477858 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-04-30 22:23:50 +00:00
parent f027f66b22
commit 81027519f8
1 changed files with 13 additions and 1 deletions

View File

@ -208,8 +208,20 @@
</para>
<para>The advantages are minor.  If later, fat request has clear advantage, can roll out a v2 later.</para>
</section>
<section xml:id="rpc.configs"><title>RPC Configurations</title>
<section><title>CellBlock Codecs</title>
<para>To enable a codec other than the default <classname>KeyValueCodec</classname>,
set <varname>hbase.client.rpc.codec</varname>
to the name of the Codec to use. Codec must implement hbase's <classname>Codec</classname> Interface. After connection setup,
all passed cellblocks will be sent with this codec. The server will return cellblocks using this same codec as long
as the codec is on the servers' CLASSPATH (else you will get <classname>UnsupportedCellCodecException</classname>).</para>
</section>
<section><title>Compression</title>
<para>Uses hadoops compression codecs.</para>
<para>Uses hadoops compression codecs. To enable compressing of passed CellBlocks, set <varname>hbase.client.rpc.compressor</varname>
to the name of the Compressor to use. Compressor must implement Hadoops' CompressionCodec Interface. After connection setup,
all passed cellblocks will be sent compressed. The server will return cellblocks compressed using this same compressor as long
as the compressor is on its CLASSPATH (else you will get <classname>UnsupportedCompressionCodecException</classname>).</para>
</section>
</section>
</section>
</appendix>