You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by dm...@apache.org on 2011/11/02 21:40:15 UTC
svn commit: r1196792 - in /hbase/trunk/src/docbkx: book.xml ops_mgt.xml
performance.xml
Author: dmeil
Date: Wed Nov 2 20:40:14 2011
New Revision: 1196792
URL: http://svn.apache.org/viewvc?rev=1196792&view=rev
Log:
HBASE-4730 book.xml, ops_mgt.xml, performance.xml - handful of changes
Modified:
hbase/trunk/src/docbkx/book.xml
hbase/trunk/src/docbkx/ops_mgt.xml
hbase/trunk/src/docbkx/performance.xml
Modified: hbase/trunk/src/docbkx/book.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/book.xml?rev=1196792&r1=1196791&r2=1196792&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/book.xml (original)
+++ hbase/trunk/src/docbkx/book.xml Wed Nov 2 20:40:14 2011
@@ -565,6 +565,12 @@ admin.enableTable(table);
second and third column family in the case where data access is usually column scoped;
i.e. you query one column family or the other but usually not both at the one time.
</para>
+ <section xml:id="number.of.cfs.card"><title>Cardinality of ColumnFamilies</title>
+ <para>Where multiple ColumnFamilies exist in a single table, be aware of the cardinality (i.e., number of rows).
+ If ColumnFamily-A has 1000,000 rows and ColumnFamily-B has 1 billion rows, ColumnFamily-A's data will likely be spread
+ across many, many regions (and RegionServers). This makes mass scans for ColumnFamily-A less efficient.
+ </para>
+ </section>
</section>
<section xml:id="rowkey.design"><title>Rowkey Design</title>
<section xml:id="timeseries">
@@ -972,6 +978,11 @@ public static class MyMapper extends Tab
</para>
</para>
</section>
+ <section xml:id="mapreduce.example.readwrite.multi">
+ <title>HBase MapReduce Read/Write Example With Multi-Table Output</title>
+ <para>TODO: example for <classname>MultiTableOutputFormat</classname>.
+ </para>
+ </section>
<section xml:id="mapreduce.example.summary">
<title>HBase MapReduce Summary Example</title>
<para>The following example uses HBase as a MapReduce source and sink with a summarization step. This example will
@@ -1575,7 +1586,6 @@ scan.setFilter(filter);
<para>For more information, see the <link xlink:href="http://hbase.apache.org/xref/org/apache/hadoop/hbase/io/hfile/HFile.html">HFile source code</link>.
</para>
</section>
-
<section xml:id="hfile_tool">
<title>HFile Tool</title>
@@ -1589,7 +1599,13 @@ scan.setFilter(filter);
usage for other things to do with the <classname>HFile</classname>
tool.</para>
</section>
+ <section xml:id="store.file.dir">
+ <title>StoreFile Directory Structure on HDFS</title>
+ <para>For more information of what StoreFiles look like on HDFS with respect to the directory structure, see <xref linkend="trouble.namenode.hbase.objects" />.
+ </para>
</section>
+ </section> <!-- hfile -->
+
<section xml:id="hfile.blocks">
<title>Blocks</title>
<para>StoreFiles are composed of blocks. The blocksize is configured on a per-ColumnFamily basis.
Modified: hbase/trunk/src/docbkx/ops_mgt.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/ops_mgt.xml?rev=1196792&r1=1196791&r2=1196792&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/ops_mgt.xml (original)
+++ hbase/trunk/src/docbkx/ops_mgt.xml Wed Nov 2 20:40:14 2011
@@ -417,6 +417,11 @@ false
</para>
</section>
</section>
+ <section xml:id="ops.capacity.regions"><title>Regions</title>
+ <para>Another common question for HBase administrators is determining the right number of regions per
+ RegionServer. This affects both storage and hardware planning. See <xref linkend="perf.number.of.regions" />.
+ </para>
+ </section>
</section>
</chapter>
Modified: hbase/trunk/src/docbkx/performance.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/performance.xml?rev=1196792&r1=1196791&r2=1196792&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/performance.xml (original)
+++ hbase/trunk/src/docbkx/performance.xml Wed Nov 2 20:40:14 2011
@@ -140,6 +140,11 @@
<para>The number of regions for an HBase table is driven by the <xref
linkend="bigger.regions" />. Also, see the architecture
section on <xref linkend="arch.regions.size" /></para>
+ <para>A lower number of regions is preferred, generally in the range of 20 to 200
+ per RegionServer. Adjust the regionsize as appropriate to achieve this number. There
+ are some clusters that set the regionsize to 20Gb, for example, so you may need to
+ experiment with this setting based on your hardware configuration and application needs.
+ </para>
</section>
<section xml:id="perf.compactions.and.splits">