Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 76797 invoked from network); 17 Nov 2010 01:41:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Nov 2010 01:41:03 -0000 Received: (qmail 17202 invoked by uid 500); 17 Nov 2010 01:41:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 17164 invoked by uid 500); 17 Nov 2010 01:41:35 -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 17155 invoked by uid 99); 17 Nov 2010 01:41:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 01:41:35 +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; Wed, 17 Nov 2010 01:41:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAH1fERs018873 for ; Wed, 17 Nov 2010 01:41:14 GMT Message-ID: <26770527.134751289958074657.JavaMail.jira@thor> Date: Tue, 16 Nov 2010 20:41:14 -0500 (EST) From: "Kannan Muthukkaruppan (JIRA)" To: issues@hbase.apache.org Subject: [jira] Assigned: (HBASE-3241) check to see if we exceeded hbase.regionserver.maxlogs limit is incorrect In-Reply-To: <11360653.130311289953154035.JavaMail.jira@thor> 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-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kannan Muthukkaruppan reassigned HBASE-3241: -------------------------------------------- Assignee: Kannan Muthukkaruppan > check to see if we exceeded hbase.regionserver.maxlogs limit is incorrect > ------------------------------------------------------------------------- > > Key: HBASE-3241 > URL: https://issues.apache.org/jira/browse/HBASE-3241 > Project: HBase > Issue Type: Bug > Reporter: Kannan Muthukkaruppan > Assignee: Kannan Muthukkaruppan > > In HLog.java:cleanOldLogs(), the number of logs left after archiving of old logs is computed as: > {code} > int logCount = this.outputfiles.size() - logsToRemove; > {code} > However, the archival itself already removes the files that were archived from the "this.outputfiles" map. > So shouldn't the above logic simply be the following? > {code} > int logCount = this.outputfiles.size(); > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.