hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject git commit: HBASE-11986 Document MOB in Reference Guide
Date Thu, 18 Sep 2014 05:27:57 GMT
Repository: hbase
Updated Branches:
  refs/heads/hbase-11339 d147eced5 -> 7cd71d1db


HBASE-11986 Document MOB in Reference Guide


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7cd71d1d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7cd71d1d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7cd71d1d

Branch: refs/heads/hbase-11339
Commit: 7cd71d1db678fe8ab6efc2191310228d9bb27849
Parents: d147ece
Author: Misty Stanley-Jones <mstanleyjones@cloudera.com>
Authored: Thu Sep 18 15:27:05 2014 +1000
Committer: Misty Stanley-Jones <mstanleyjones@cloudera.com>
Committed: Thu Sep 18 15:27:41 2014 +1000

----------------------------------------------------------------------
 src/main/docbkx/book.xml          | 2 ++
 src/main/docbkx/ops_mgt.xml       | 3 ++-
 src/main/docbkx/schema_design.xml | 9 +++++++++
 3 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7cd71d1d/src/main/docbkx/book.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/book.xml b/src/main/docbkx/book.xml
index 19dd770..78acfea 100644
--- a/src/main/docbkx/book.xml
+++ b/src/main/docbkx/book.xml
@@ -4658,8 +4658,10 @@ if (result.isStale()) {
 	</section>
 
   </chapter>   <!--  architecture -->
+  
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hbase_apis.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="external_apis.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hbase_mob.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="thrift_filter_language.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cp.xml" />
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="performance.xml"/>

http://git-wip-us.apache.org/repos/asf/hbase/blob/7cd71d1d/src/main/docbkx/ops_mgt.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml
index ffcf1ce..51c432d 100644
--- a/src/main/docbkx/ops_mgt.xml
+++ b/src/main/docbkx/ops_mgt.xml
@@ -2119,7 +2119,8 @@ hbase> restore_snapshot 'myTableSnapshot-122112'
         <para>If you cannot estimate the size of your tables well, when starting off,
it's probably
           best to stick to the default region size, perhaps going smaller for hot tables
(or
           manually split hot regions to spread the load over the cluster), or go with larger
region
-          sizes if your cell sizes tend to be largish (100k and up).</para>
+          sizes if your cell sizes tend to be largish (100k and up). See also the new feature
<xref
+            linkend="mob"/>, introduced in HBase 2.0+.</para>
         <para>In HBase 0.98, experimental stripe compactions feature was added that
would allow for
           larger regions, especially for log data. See <xref
             linkend="ops.stripe" />.</para>

http://git-wip-us.apache.org/repos/asf/hbase/blob/7cd71d1d/src/main/docbkx/schema_design.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/schema_design.xml b/src/main/docbkx/schema_design.xml
index efbcb55..1e86ee7 100644
--- a/src/main/docbkx/schema_design.xml
+++ b/src/main/docbkx/schema_design.xml
@@ -464,6 +464,15 @@ public static byte[][] getHexSplits(String startKey, String endKey, int
numRegio
         less than the number of row versions. </para>
     </section>
   </section>
+  <section>
+    <title>Cell Size</title>
+    <para>HBase is optimized to handle cell sizes up to 100 KB very well, though it
can technically
+      handle cell sizes from 1 kb to 10 MB. Objects between 1 MB and 64 MB are referred to
as
+      Medium Objects (MOBs), and support for storing those objects directly in HBase is provided
in
+      HBase 2.0+. See <xref linkend="mob"/>.</para>
+    <para>For storing objects larger than 64 MB or larger than 10 MB without MOB support,
store the
+      objects directly in HDFS, and store a reference to the file path in HBase.</para>
+  </section>
   <section
     xml:id="supported.datatypes">
     <title> Supported Datatypes </title>


Mime
View raw message