Author: dmeil
Date: Fri Feb 10 18:27:42 2012
New Revision: 1242878

URL: http://svn.apache.org/viewvc?rev=1242878&view=rev
Log:
hbase-5380.  book.xml, comment about KeyValue instances not being split across 
blocks

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=1242878&r1=1242877&r2=1242878&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/book.xml (original)
+++ hbase/trunk/src/docbkx/book.xml Fri Feb 10 18:27:42 2012
@@ -2082,7 +2082,7 @@ myHtd.setValue(HTableDescriptor.SPLIT_PO
       <section xml:id="keyvalue">
         <title>KeyValue</title>
         <para>The KeyValue class is the heart of data storage in HBase.  
KeyValue wraps a byte array and takes offsets and lengths into passed array
-         at where to start interpreting the content as KeyValue.
+         at where to start interpreting the content as KeyValue.  
         </para>
         <para>The KeyValue format inside a byte array is:
            <itemizedlist>
@@ -2103,7 +2103,9 @@ myHtd.setValue(HTableDescriptor.SPLIT_PO
              <listitem>keytype (e.g., Put, Delete, DeleteColumn, 
DeleteFamily)</listitem>
            </itemizedlist>
         </para>
-        <para>For more information, see the <link 
xlink:href="http://hbase.apache.org/xref/org/apache/hadoop/hbase/KeyValue.html";>KeyValue
 source code</link>.
+        <para>KeyValue instances are <emphasis>not</emphasis> split across 
blocks.
+         For example, if there is an 8 MB KeyValue, even if the block-size is 
64kb this KeyValue will be read
+         in as a coherent block.  For more information, see the <link 
xlink:href="http://hbase.apache.org/xref/org/apache/hadoop/hbase/KeyValue.html";>KeyValue
 source code</link>.
         </para>
         <section xml:id="keyvalue.example"><title>Example</title>
           <para>To emphasize the points above, examine what happens with two 
Puts for two different columns for the same row:</para>


Reply via email to