Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 59511 invoked from network); 9 Sep 2010 19:54:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 19:54:12 -0000 Received: (qmail 5533 invoked by uid 500); 9 Sep 2010 19:54:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5486 invoked by uid 500); 9 Sep 2010 19:54:12 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 5477 invoked by uid 99); 9 Sep 2010 19:54:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 19:54:12 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 19:53:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89JrX8o024289 for ; Thu, 9 Sep 2010 19:53:33 GMT Message-ID: <10066146.101601284062013012.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 15:53:33 -0400 (EDT) From: "Karthick Sankarachary (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-2899) hfile.min.blocksize.size ignored/documentation wrong In-Reply-To: <21510394.147521280876477581.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907756#action_12907756 ] Karthick Sankarachary commented on HBASE-2899: ---------------------------------------------- On top of this, there's also a HColumnDescriptor#BLOCKSIZE property, which is specific to a column family. IMO, the effective file block size should be the value of HColumnDescriptor#BLOCKSIZE, HBaseConfiguration.get("hfile.min.blocksize.size") or HFile.DEFAULT_BLOCKSIZE, in that order of precedence. > hfile.min.blocksize.size ignored/documentation wrong > ---------------------------------------------------- > > Key: HBASE-2899 > URL: https://issues.apache.org/jira/browse/HBASE-2899 > Project: HBase > Issue Type: Bug > Reporter: Lars Francke > Priority: Trivial > > There is a property in hbase-default.xml called {{hfile.min.blocksize.size}} set to {{65536}}. > The description says: Minimum store file block size. The smaller you make this, the bigger your index and the less you fetch on a random-access. Set size down if you have small cells and want faster random-access of individual cells. > This property is only used in the HFileOutputFormat and nowhere else. So we should at least change the description to something more meaningful. > The other option I see would be: HFile now has a DEFAULT_BLOCKSIZE field which could be moved to HConstants and HFile could somehow read the {{hfile.min.blocksize.size}} from the Configuration or use HConstansts.DEFAULT_BLOCKSIZE if it's not defined. I believe this is what's happening to the other config variables? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.