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 E7598D31A for ; Mon, 30 Jul 2012 03:07:35 +0000 (UTC) Received: (qmail 54432 invoked by uid 500); 30 Jul 2012 03:07:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 54178 invoked by uid 500); 30 Jul 2012 03:07: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 54157 invoked by uid 99); 30 Jul 2012 03:07:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 03:07:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id B80E9142851 for ; Mon, 30 Jul 2012 03:07:34 +0000 (UTC) Date: Mon, 30 Jul 2012 03:07:34 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <2104708359.115061.1343617654756.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1881046060.74299.1342671815215.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6427) Pluggable compaction policies via coprocessors 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-6427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424672#comment-13424672 ] Lars Hofhansl commented on HBASE-6427: -------------------------------------- bq. This illustrates the intricacies of scanner chaining. I think that is a false transitive statement. :) For this particular hook chaining is hard, because this is an intricate part of the HBase code. That does not mean that chaining is generally hard (it is not). bq. I wouldn't expect it to function correctly when an arbitrary number of scanners are chained (both) upstream and downstream. Same here... The point is: It is possible to chain region observers even in this case. If that is not desired an implementer can break the chain (via the passed context. and by ignoring the InternalScanner argument). > Pluggable compaction policies via coprocessors > ---------------------------------------------- > > Key: HBASE-6427 > URL: https://issues.apache.org/jira/browse/HBASE-6427 > Project: HBase > Issue Type: New Feature > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Priority: Minor > Attachments: 6427-notReady.txt, 6427-v1.txt, 6427-v2.txt, 6427-v3.txt, 6427-v4.txt, 6427-v5.txt, 6427-v7.txt > > > When implementing higher level stores on top of HBase it is necessary to allow dynamic control over how long KVs must be kept around. > Semi-static config options for ColumnFamilies (# of version or TTL) is not sufficient. > This can be done with a few additional coprocessor hooks, or by makeing Store.ScanInfo pluggable. > Was: > The simplest way to achieve this is to have a pluggable class to determine the smallestReadpoint for Region. That way outside code can control what KVs to retain. -- 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