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 73F0510AFE for ; Tue, 10 Sep 2013 02:07:52 +0000 (UTC) Received: (qmail 18710 invoked by uid 500); 10 Sep 2013 02:07:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 18639 invoked by uid 500); 10 Sep 2013 02:07:52 -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 18630 invoked by uid 99); 10 Sep 2013 02:07:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 02:07:52 +0000 Date: Tue, 10 Sep 2013 02:07:52 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9477) Add deprecation compat shim for Result#raw and Result#list for 0.96 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-9477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762624#comment-13762624 ] Sergey Shelukhin commented on HBASE-9477: ----------------------------------------- bq. broken parts with for apis that didn't make it to the Cell interface. Yeah, that sucks... Btw, I don't think annotations are that helpful, people don't really read them, if it's public it's public seems to be the prevalent mode of thinking :) raw/list breaks more stuff for Hive, in places where it actually reads KVs and writes KVs out in HBase handler. I figure we are ok for 96 at least, because backward compat methods will cast to KV, so there'd be no perf penalty. > Add deprecation compat shim for Result#raw and Result#list for 0.96 > ------------------------------------------------------------------- > > Key: HBASE-9477 > URL: https://issues.apache.org/jira/browse/HBASE-9477 > Project: HBase > Issue Type: Sub-task > Affects Versions: 0.95.2 > Reporter: Jonathan Hsieh > Assignee: Jonathan Hsieh > Priority: Blocker > Fix For: 0.98.0, 0.96.0 > > Attachments: hbase-9477.patch > > > Discussion in HBASE-9359 brought up that applications commonly use the Keyvalue[] Result#raw (and similarly Result#list). Let's rename the 0.96 version to something like #listCells and #rawCells and revert #raw and #list to their old signature to easy upgrade deprecation issues. -- 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