http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5c5e961f/book.html ---------------------------------------------------------------------- diff --git a/book.html b/book.html index 3c3f71a..ba03840 100644 --- a/book.html +++ b/book.html @@ -28162,6 +28162,33 @@ drop_namespace 'pre_upgrade_cleanup'</pre> </div> </div> </div> +<div class="sect2"> +<h3 id="_data_block_encoding_tool"><a class="anchor" href="#_data_block_encoding_tool"></a>149.23. Data Block Encoding Tool</h3> +<div class="paragraph"> +<p>Tests various compression algorithms with different data block encoder for key compression on an existing HFile. +Useful for testing, debugging and benchmarking.</p> +</div> +<div class="paragraph"> +<p>You must specify <code>-f</code> which is the full path of the HFile.</p> +</div> +<div class="paragraph"> +<p>The result shows both the performance (MB/s) of compression/decompression and encoding/decoding, and the data savings on the HFile.</p> +</div> +<div class="listingblock"> +<div class="content"> +<pre>$ bin/hbase org.apache.hadoop.hbase.regionserver.DataBlockEncodingTool +Usages: hbase org.apache.hadoop.hbase.regionserver.DataBlockEncodingTool +Options: + -f HFile to analyse (REQUIRED) + -n Maximum number of key/value pairs to process in a single benchmark run. + -b Whether to run a benchmark to measure read throughput. + -c If this is specified, no correctness testing will be done. + -a What kind of compression algorithm use for test. Default value: GZ. + -t Number of times to run each benchmark. Default value: 12. + -omit Number of first runs of every benchmark to omit from statistics. Default value: 2.</pre> +</div> +</div> +</div> </div> </div> <div class="sect1"> @@ -41092,7 +41119,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/ <div id="footer"> <div id="footer-text"> Version 3.0.0-SNAPSHOT<br> -Last updated 2018-08-09 14:30:02 UTC +Last updated 2018-08-10 14:29:54 UTC </div> </div> </body>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5c5e961f/bulk-loads.html ---------------------------------------------------------------------- diff --git a/bulk-loads.html b/bulk-loads.html index 6f01f50..4ef359e 100644 --- a/bulk-loads.html +++ b/bulk-loads.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180809" /> + <meta name="Date-Revision-yyyymmdd" content="20180810" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Bulk Loads in Apache HBase (TM) @@ -306,7 +306,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-08-09</li> + <li id="publishDate" class="pull-right">Last Published: 2018-08-10</li> </p> </div>