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 E2C29EB05 for ; Tue, 12 Feb 2013 21:35:17 +0000 (UTC) Received: (qmail 30454 invoked by uid 500); 12 Feb 2013 21:35:15 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30411 invoked by uid 500); 12 Feb 2013 21:35:15 -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 30379 invoked by uid 99); 12 Feb 2013 21:35:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 21:35:15 +0000 Date: Tue, 12 Feb 2013 21:35:15 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7822) clean up compactionrequest and compactselection - part 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-7822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577033#comment-13577033 ] Ted Yu commented on HBASE-7822: ------------------------------- {code} +public class OffPeakCompactions { {code} Please add javadoc for the new class. Annotation for audience, too. {code} - + CompactSelection.getNumOutStandingOffPeakCompactions()); + LOG.info("Running an off-peak compaction, selection ratio = " + ratio); ... + public long getNumOutStandingOffPeakCompactions() { {code} I don't see the new getNumOutStandingOffPeakCompactions() method called. > clean up compactionrequest and compactselection - part 1 > -------------------------------------------------------- > > Key: HBASE-7822 > URL: https://issues.apache.org/jira/browse/HBASE-7822 > Project: HBase > Issue Type: Improvement > Components: Compaction > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HBASE-7822-v0.patch, HBASE-7822-v0.patch > > > Certain parts of CompactionRequest are unnecessary. > Off-peak hour management is part way in selection, part way in Store and part way in policy. > Needs to be cleaned up in preparation of having CompactionPolicy return CompactionRequest. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira