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 7C1D73D09 for ; Mon, 2 May 2011 19:36:44 +0000 (UTC) Received: (qmail 71400 invoked by uid 500); 2 May 2011 19:36:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71364 invoked by uid 500); 2 May 2011 19:36:44 -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 71355 invoked by uid 99); 2 May 2011 19:36:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 19:36:44 +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, 02 May 2011 19:36:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1D208BEAFB for ; Mon, 2 May 2011 19:36:03 +0000 (UTC) Date: Mon, 2 May 2011 19:36:03 +0000 (UTC) From: "Nicolas Spiegelberg (JIRA)" To: issues@hbase.apache.org Message-ID: <1244688252.15989.1304364963116.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1468071729.14363.1304282523140.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-3842) Refactor Coprocessor Compaction API 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-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027792#comment-13027792 ] Nicolas Spiegelberg commented on HBASE-3842: -------------------------------------------- @stack: That's a good point about major compaction. Maybe I should have the input param be CompactionRequest, which contains the Store, File list, and isMajor. Would there be a problem with giving the user direct access to the Store? I was a little worried about giving that unless someone else concurred. Maybe make a separate ICompactionRequest & IStore API for coprocessor contracts? If I passed the CompactionRequest object - which contains a Store - to the user, then the coprocessor client could access the MemStore through some Store API? > Refactor Coprocessor Compaction API > ----------------------------------- > > Key: HBASE-3842 > URL: https://issues.apache.org/jira/browse/HBASE-3842 > Project: HBase > Issue Type: Improvement > Components: coprocessors, regionserver > Affects Versions: 0.92.0 > Reporter: Nicolas Spiegelberg > Assignee: Nicolas Spiegelberg > Priority: Minor > Labels: compaction > Fix For: 0.92.0 > > > After HBASE-3797, the compaction logic flow has been significantly altered. Because of this, the current compaction coprocessor API is insufficient for gaining full insight into compaction requests/results. Refactor coprocessor API after HBASE-3797 is committed to be more extensible and increase visibility. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira