Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2FC89D1F for ; Wed, 11 Jan 2012 07:59:21 +0000 (UTC) Received: (qmail 94332 invoked by uid 500); 11 Jan 2012 07:59:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 94241 invoked by uid 500); 11 Jan 2012 07:59:09 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 94220 invoked by uid 99); 11 Jan 2012 07:59:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 07:59:03 +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; Wed, 11 Jan 2012 07:59:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BD7C61440CF for ; Wed, 11 Jan 2012 07:58:39 +0000 (UTC) Date: Wed, 11 Jan 2012 07:58:39 +0000 (UTC) From: "Sylvain Lebresne (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <979594243.29126.1326268719777.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1846794064.12028.1325803420103.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3703) log Compaction Active tasks in StatusLogger instead of n/a 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/CASSANDRA-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183938#comment-13183938 ] Sylvain Lebresne commented on CASSANDRA-3703: --------------------------------------------- I believe we should add the tasks of the validationExecutor to the active tasks too. > log Compaction Active tasks in StatusLogger instead of n/a > ---------------------------------------------------------- > > Key: CASSANDRA-3703 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3703 > Project: Cassandra > Issue Type: Improvement > Reporter: Jackson Chung > Assignee: Jonathan Ellis > Priority: Minor > Labels: compaction > Fix For: 1.0.7 > > Attachments: 3703.txt > > > currently StatusLogger log: > {noformat} > logger.info(String.format("%-25s%10s%10s", > "CompactionManager", "n/a", CompactionManager.instance.getPendingTasks())); > {noformat} > It'd be great if it could actually log the number of active tasks being processed. Without looking into the code, I thought there was no compaction running when reading the log. > {code: title=CompactionManager.java} > public int getActiveCompactions() > { > return CompactionExecutor.compactions.size(); > } > {code} -- 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