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 9C3E511A4F for ; Sat, 2 Aug 2014 03:24:39 +0000 (UTC) Received: (qmail 23175 invoked by uid 500); 2 Aug 2014 03:24:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23123 invoked by uid 500); 2 Aug 2014 03:24:39 -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 23104 invoked by uid 99); 2 Aug 2014 03:24:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2014 03:24:39 +0000 Date: Sat, 2 Aug 2014 03:24:39 +0000 (UTC) From: "Gary Helmling (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11653) RegionObserver coprocessor cannot override KeyValue values in prePut() 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-11653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Helmling updated HBASE-11653: ---------------------------------- Attachment: HBASE-11653_0.94.patch Attaching a patch with a trivial fix for HRegion.internalPut(), plus a test case to exercise the error. > RegionObserver coprocessor cannot override KeyValue values in prePut() > ---------------------------------------------------------------------- > > Key: HBASE-11653 > URL: https://issues.apache.org/jira/browse/HBASE-11653 > Project: HBase > Issue Type: Bug > Components: Coprocessors > Affects Versions: 0.94.21 > Reporter: Gary Helmling > Assignee: Gary Helmling > Priority: Minor > Attachments: HBASE-11653_0.94.patch > > > Due to a bug in {{HRegion.internalPut()}}, any modifications that a {{RegionObserver}} makes to a Put's family map in the {{prePut()}} hook are lost. > This prevents coprocessors from modifying the values written by a {{Put}}. -- This message was sent by Atlassian JIRA (v6.2#6252)