Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2934FF3BE for ; Sat, 30 Mar 2013 00:21:19 +0000 (UTC) Received: (qmail 76837 invoked by uid 500); 30 Mar 2013 00:21:19 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 76796 invoked by uid 500); 30 Mar 2013 00:21:18 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 76789 invoked by uid 99); 30 Mar 2013 00:21:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 00:21:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Mar 2013 00:20:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 10A052388B75; Sat, 30 Mar 2013 00:20:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1462679 [8/14] - in /hbase/hbase.apache.org/trunk: ./ book/ case_studies/ community/ configuration/ developer/ getting_started/ ops_mgt/ performance/ rpc/ Date: Sat, 30 Mar 2013 00:19:57 -0000 To: commits@hbase.apache.org From: enis@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130330002011.10A052388B75@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: hbase/hbase.apache.org/trunk/book/regions.arch.html URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/book/regions.arch.html?rev=1462679&r1=1462678&r2=1462679&view=diff ============================================================================== --- hbase/hbase.apache.org/trunk/book/regions.arch.html (original) +++ hbase/hbase.apache.org/trunk/book/regions.arch.html Sat Mar 30 00:19:55 2013 @@ -57,12 +57,12 @@ to the RegionServer.

For more information, see HDFS Design on Replica Placement and also Lars George's blog on HBase and HDFS locality. -

9.7.4. Region Splits

Splits run unaided on the RegionServer; i.e. the Master does not +

9.7.4. Region Splits

Splits run unaided on the RegionServer; i.e. the Master does not participate. The RegionServer splits a region, offlines the split region and then adds the daughter regions to META, opens daughters on the parent's hosting RegionServer and then reports the split to the Master. See Section 2.5.2.7, “Managed Splitting” for how to manually manage - splits (and for why you might do this)

9.7.4.1. Custom Split Policies

The default split policy can be overwritten using a custom RegionSplitPolicy (HBase 0.94+). + splits (and for why you might do this)

9.7.4.1. Custom Split Policies

The default split policy can be overwritten using a custom RegionSplitPolicy (HBase 0.94+). Typically a custom split policy should extend HBase's default split policy: ConstantSizeRegionSplitPolicy.

The policy can set globally through the HBaseConfiguration used or on a per table basis:

@@ -74,7 +74,7 @@ myHtd.setValue(HTableDescriptor.SPLIT_PO
        When asked to flush, current memstore is moved to snapshot and is cleared.
        HBase continues to serve edits out of new memstore and backing snapshot until flusher reports in that the
        flush succeeded. At this point the snapshot is let go.

9.7.5.2. StoreFile (HFile)

StoreFiles are where your data lives. -

9.7.5.2.1. HFile Format

The hfile file format is based on +

9.7.5.2.1. HFile Format

The hfile file format is based on the SSTable file described in the BigTable [2006] paper and on Hadoop's tfile (The unit test suite and the compression harness were taken directly from tfile). Modified: hbase/hbase.apache.org/trunk/book/regionserver.arch.html URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/book/regionserver.arch.html?rev=1462679&r1=1462678&r2=1462679&view=diff ============================================================================== --- hbase/hbase.apache.org/trunk/book/regionserver.arch.html (original) +++ hbase/hbase.apache.org/trunk/book/regionserver.arch.html Sat Mar 30 00:19:55 2013 @@ -61,22 +61,22 @@ For more general information about the concept of write ahead logs, see the Wikipedia Write-Ahead Log article.

9.6.5.2. WAL Flushing

TODO (describe). -

9.6.5.3. WAL Splitting

9.6.5.3.1. How edits are recovered from a crashed RegionServer

When a RegionServer crashes, it will lose its ephemeral lease in - ZooKeeper...TODO

9.6.5.3.2. hbase.hlog.split.skip.errors

When set to true, any error +

9.6.5.3. WAL Splitting

9.6.5.3.1. How edits are recovered from a crashed RegionServer

When a RegionServer crashes, it will lose its ephemeral lease in + ZooKeeper...TODO

9.6.5.3.2. hbase.hlog.split.skip.errors

When set to true, any error encountered splitting will be logged, the problematic WAL will be moved into the .corrupt directory under the hbase rootdir, and processing will continue. If set to false, the default, the exception will be propagated and the - split logged as failed.[22]

9.6.5.3.3. How EOFExceptions are treated when splitting a crashed + split logged as failed.[22]

9.6.5.3.3. How EOFExceptions are treated when splitting a crashed RegionServers' WALs

If we get an EOF while splitting logs, we proceed with the split even when hbase.hlog.split.skip.errors == false. An EOF while reading the last log in the set of files to split is near-guaranteed since the RegionServer likely crashed mid-write of a record. But we'll continue even if we got an - EOF reading other than the last file in the set.[23]

comments powered by Disqus \ No newline at end of file +comments powered by Disqus \ No newline at end of file Modified: hbase/hbase.apache.org/trunk/book/trouble.resources.html URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/book/trouble.resources.html?rev=1462679&r1=1462678&r2=1462679&view=diff ============================================================================== --- hbase/hbase.apache.org/trunk/book/trouble.resources.html (original) +++ hbase/hbase.apache.org/trunk/book/trouble.resources.html Sat Mar 30 00:19:55 2013 @@ -8,12 +8,12 @@ is generally used for questions on released versions of Apache HBase. Before going to the mailing list, make sure your question has not already been answered by searching the mailing list archives first. Use Section 12.3.1, “search-hadoop.com”. - Take some time crafting your question[28]; a quality question that includes all context and + Take some time crafting your question[28]; a quality question that includes all context and exhibits evidence the author has tried to find answers in the manual and out on lists is more likely to get a prompt response.

12.3.3. IRC

#hbase on irc.freenode.net

12.3.4. JIRA

JIRA is also really helpful when looking for Hadoop/HBase-specific issues. -



[28] See Getting Answers