Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FE757079 for ; Tue, 20 Sep 2011 22:10:33 +0000 (UTC) Received: (qmail 91362 invoked by uid 500); 20 Sep 2011 22:10:33 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91336 invoked by uid 500); 20 Sep 2011 22:10:33 -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 91319 invoked by uid 99); 20 Sep 2011 22:10:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 22:10:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 22:10:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ED8BFA4F4D for ; Tue, 20 Sep 2011 22:10:09 +0000 (UTC) Date: Tue, 20 Sep 2011 22:10:09 +0000 (UTC) From: "David Revell (JIRA)" To: issues@hbase.apache.org Message-ID: <1072150661.47770.1316556609969.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <367234631.47234.1316543949916.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-4449) LoadIncrementalHFiles can't handle CFs with blooms 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-4449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Revell updated HBASE-4449: -------------------------------- Attachment: HBASE-4449-trunk-testsonly.patch Sorry Ted, I should have realized that my patch was only against 0.90. Current state: - HBASE_4449-v2.patch applies to 0.90 branch, and was +1'ed by Ted. - HBASE-4449-trunk-testsonly.patch is just now being uploaded and includes only test changes for bloom filter CFs. It hasn't been +1'ed by anyone yet. > LoadIncrementalHFiles can't handle CFs with blooms > -------------------------------------------------- > > Key: HBASE-4449 > URL: https://issues.apache.org/jira/browse/HBASE-4449 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.4 > Reporter: David Revell > Assignee: David Revell > Fix For: 0.90.5 > > Attachments: HBASE-4449-trunk-testsonly.patch, HBASE-4449-v2.patch, HBASE-4449.patch > > > When LoadIncrementalHFiles loads a store file that crosses region boundaries, it will split the file at the boundary to create two store files. If the store file is for a column family that has a bloom filter, then a "java.lang.ArithmeticException: / by zero" will be raised because ByteBloomFilter() is called with maxKeys of 0. > The included patch assumes that the number of keys in each split child will be equal to the number of keys in the parent's bloom filter (instead of 0). This is an overestimate, but it's safe and easy. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira