http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6fbeb554/book.html ---------------------------------------------------------------------- diff --git a/book.html b/book.html index fd60020..0981763 100644 --- a/book.html +++ b/book.html @@ -16887,7 +16887,7 @@ read and write paths are optimized for values smaller than 100KB in size. When HBase deals with large numbers of objects over this threshold, referred to here as medium objects, or MOBs, performance is degraded due to write amplification caused by splits and compactions. When using MOBs, ideally your objects will be between -100KB and 10MB. HBase <strong><strong>FIX_VERSION_NUMBER</strong></strong> adds support +100KB and 10MB (see the <a href="#faq">FAQ</a>). HBase <strong><strong>FIX_VERSION_NUMBER</strong></strong> adds support for better managing large numbers of MOBs while maintaining performance, consistency, and low operational overhead. MOB support is provided by the work done in <a href="https://issues.apache.org/jira/browse/HBASE-11339">HBASE-11339</a>. To @@ -17027,7 +17027,7 @@ family as the second argument. and take a compaction type as the third argument. <div class="listingblock"> <div class="content"> <pre>hbase> compact 't1', 'c1â, âMOBâ -hbase> major_compact_mob 't1', 'c1â, âMOBâ</pre> +hbase> major_compact 't1', 'c1â, âMOBâ</pre> </div> </div> <div class="paragraph"> @@ -17427,14 +17427,18 @@ creation or mutation, and <code>DELETE</code> for deletion. </thead> <tbody> <tr> -<td class="tableblock halign-left valign-top"><p class="tableblock"><code>/<em>table</em>/<em>row</em>/<em>column:qualifier</em>/<em>timestamp</em></code></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><code>/<em>table</em>/<em>row</em></code></p></td> <td class="tableblock halign-left valign-top"><p class="tableblock"><code>GET</code></p></td> -<td class="tableblock halign-left valign-top"><p class="tableblock">Get the value of a single row. Values are Base-64 encoded.</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">Get all columns of a single row. Values are Base-64 encoded. This requires the "Accept" request header with a type that can hold multiple columns (like xml, json or protobuf).</p></td> <td class="tableblock halign-left valign-top"><div class="literal"><pre>curl -vi -X GET \ -H "Accept: text/xml" \ - "http://example.com:8000/users/row1" - -curl -vi -X GET \ + "http://example.com:8000/users/row1"</pre></div></td> +</tr> +<tr> +<td class="tableblock halign-left valign-top"><p class="tableblock"><code>/<em>table</em>/<em>row</em>/<em>column:qualifier</em>/<em>timestamp</em></code></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock"><code>GET</code></p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">Get the value of a single column. Values are Base-64 encoded.</p></td> +<td class="tableblock halign-left valign-top"><div class="literal"><pre>curl -vi -X GET \ -H "Accept: text/xml" \ "http://example.com:8000/users/row1/cf:a/1458586888395"</pre></div></td> </tr> @@ -31785,6 +31789,10 @@ Reference Guide are <code>java</code>, <code>xml</code>, <code>sql</code>, and < <dd> <p>See <a href="#hbase.history">hbase.history</a>.</p> </dd> +<dt class="hdlist1">Why are the cells above 10MB not recommended for HBase?</dt> +<dd> +<p>Large cells don’t fit well into HBase’s approach to buffering data. First, the large cells bypass the MemStoreLAB when they are written. Then, they cannot be cached in the L2 block cache during read operations. Instead, HBase has to allocate on-heap memory for them each time. This can have a significant impact on the garbage collector within the RegionServer process.</p> +</dd> </dl> </div> </div>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6fbeb554/bulk-loads.html ---------------------------------------------------------------------- diff --git a/bulk-loads.html b/bulk-loads.html index 07534a1..1432dd9 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="20170428" /> + <meta name="Date-Revision-yyyymmdd" content="20170429" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Bulk Loads in Apache HBase (TM) @@ -311,7 +311,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: 2017-04-28</li> + <li id="publishDate" class="pull-right">Last Published: 2017-04-29</li> </p> </div>
