Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 5694 invoked from network); 18 Jun 2010 00:36:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Jun 2010 00:36:03 -0000 Received: (qmail 9702 invoked by uid 500); 18 Jun 2010 00:36:03 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 9678 invoked by uid 500); 18 Jun 2010 00:36:03 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 9671 invoked by uid 500); 18 Jun 2010 00:36:02 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 9668 invoked by uid 99); 18 Jun 2010 00:36:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 00:36:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 00:36:00 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 6243F16E0A; Fri, 18 Jun 2010 00:35:39 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 18 Jun 2010 00:35:39 -0000 Message-ID: <20100618003539.19090.68932@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22Hbase/FAQ=22_by_JeffHammerbacher?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "Hbase/FAQ" page has been changed by JeffHammerbacher. http://wiki.apache.org/hadoop/Hbase/FAQ?action=3Ddiff&rev1=3D62&rev2=3D63 -------------------------------------------------- 1. [[#21|How do I add/remove a node?]] 1. [[#22|Why do servers have start codes?]] 1. [[#23|What is the maximum recommended cell size?]] + 1. [[#24|Why can't I iterate through the rows a table in reverse order?]] = =3D=3D Answers =3D=3D = @@ -229, +230 @@ = A rough rule of thumb, with little empirical validation, is to keep the d= ata in HDFS and store pointers to the data in HBase if you expect the cell = size to be consistently above 10 MB. If you do expect large cell values and= you still plan to use HBase for the storage of cell contents, you'll want = to increase the block size and the maximum region size for the table to kee= p the index size reasonable and the split frequency acceptable. = + '''24. <> Why can't I iterate through the rows a table in rev= erse order?''' + = + Because of the way [[http://hbase.apache.org/docs/current/api/org/apache/= hadoop/hbase/io/hfile/HFile.html|HFile]] works: for efficiency, column valu= es are put on disk with the length of the value written first and then the = bytes of the actual value written second. To navigate through these values = in reverse order, these length values would need to be stored twice (at the= end as well) or in a side file. A robust secondary index implementation is= the likely solution here to ensure the primary use case remains fast. +=20