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 B69DD91F8 for ; Mon, 13 Feb 2012 14:27:21 +0000 (UTC) Received: (qmail 51291 invoked by uid 500); 13 Feb 2012 14:27:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51144 invoked by uid 500); 13 Feb 2012 14:27:20 -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 51129 invoked by uid 99); 13 Feb 2012 14:27:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 14:27:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Mon, 13 Feb 2012 14:27:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 777831B4204 for ; Mon, 13 Feb 2012 14:26:59 +0000 (UTC) Date: Mon, 13 Feb 2012 14:26:59 +0000 (UTC) From: "Doug Meil (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <559530993.31784.1329143219490.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1840618746.31776.1329143099959.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-5389) [book] book.xml - minor correction of compaction algorithm (example #1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Meil updated HBASE-5389: ----------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > [book] book.xml - minor correction of compaction algorithm (example #1) > ----------------------------------------------------------------------- > > Key: HBASE-5389 > URL: https://issues.apache.org/jira/browse/HBASE-5389 > Project: HBase > Issue Type: Improvement > Reporter: Doug Meil > Assignee: Doug Meil > Priority: Minor > Attachments: book_hbase_5389.xml.patch > > > Nicholas pointed this out to me. The "what" was correct in all cases for example #1, but two of the "whys" weren't correct: > -------- > Slight modification to the book. In 8.7.5.5.2 > * 100 --> No, because sum(50, 23, 12, 12) * 1.0 = 97. > * 50 --> No, because sum(23, 12, 12) * 1.0 = 47. > * 23 --> Yes, because sum(12, 12) * 1.0 = 24. > * 12 --> Yes, because sum(12) * 1.0 = 12. > * 12 --> Yes, because the previous file had been included, and this is > included because this does not exceed the the max-file limit of 5. > [12,12] are include solely because an older/larger file is included: 23. > The compaction algorithm itself stops after noticing that 23 should be > included. Sum(12) * 1.0 >= 12 isn't done at all > -------- > Correcting explanation of the last 2 files on why they were selected for minor compaction. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira