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 29E301783B for ; Sat, 14 Feb 2015 17:54:12 +0000 (UTC) Received: (qmail 20331 invoked by uid 500); 14 Feb 2015 17:54:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20288 invoked by uid 500); 14 Feb 2015 17:54:12 -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 20277 invoked by uid 99); 14 Feb 2015 17:54:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 17:54:11 +0000 Date: Sat, 14 Feb 2015 17:54:11 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-13030) [1.0.0 polish] Make ScanMetrics public again and align Put 'add' with Get, Delete, etc., addColumn 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-13030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-13030: -------------------------- Resolution: Fixed Release Note: Miscellaneous cleanup. Make ScanMetrics audience public -- was mistakenly made private -- and make their access more amenable. Make Put like Delete and Get adding addColumn method (deprecating add). Make the ByteBuffer returned by Cell read only. Add to CellUtil a method to get a ByteRange on a value. Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) > [1.0.0 polish] Make ScanMetrics public again and align Put 'add' with Get, Delete, etc., addColumn > -------------------------------------------------------------------------------------------------- > > Key: HBASE-13030 > URL: https://issues.apache.org/jira/browse/HBASE-13030 > Project: HBase > Issue Type: Bug > Components: Operability > Affects Versions: 1.0.0 > Reporter: stack > Assignee: stack > Fix For: 1.0.0, 2.0.0, 1.1.0 > > Attachments: 13030.txt, 13030v10.txt, 13030v11.txt, 13030v12.txt, 13030v2.txt, 13030v3.txt, 13030v5.txt, 13030v7.txt, 13030v8.txt, 13030v9.txt, addendum.txt, hbase-13030-scanmetrics.patch, hbase-13030-v6.patch > > > These are some of the items raised by [~larsgeorge] looking at our API for first time in a long time trying to update examples in the HBase Book. > 1. ScanMetrics used to be available with some gymnastics in old days. Now it is IA.private and to get at it from Scan context, you need to use private ProtobufUtils. This seems like useful advanced user utility that should not be shut down. > 2. Put is not like the others around the addColumn usage. Fix. > [~enis] Hopefully these ok to go in (the Scan class addition is a little ugly but didn't want to do anything more adventurous this late in the game). -- This message was sent by Atlassian JIRA (v6.3.4#6332)