Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 338DA200B99 for ; Wed, 5 Oct 2016 09:30:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 323F8160AEB; Wed, 5 Oct 2016 07:30:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0081160ADB for ; Wed, 5 Oct 2016 09:30:21 +0200 (CEST) Received: (qmail 45594 invoked by uid 500); 5 Oct 2016 07:30:20 -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 45565 invoked by uid 99); 5 Oct 2016 07:30:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 07:30:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 974632C0B05 for ; Wed, 5 Oct 2016 07:30:20 +0000 (UTC) Date: Wed, 5 Oct 2016 07:30:20 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16759) Avoid ByteString.copyFrom usage wherever possible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Oct 2016 07:30:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-16759: ----------------------------------- Attachment: HBASE-16759.patch Attaching same patch to get one more QA result.. MOB related failures seems not seen before. I am not changing any MOB related code path in this jira though. > Avoid ByteString.copyFrom usage wherever possible > ------------------------------------------------- > > Key: HBASE-16759 > URL: https://issues.apache.org/jira/browse/HBASE-16759 > Project: HBase > Issue Type: Sub-task > Components: Protobufs > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 2.0.0 > > Attachments: HBASE-16759.patch, HBASE-16759.patch > > > We can use UnsafeByteOperations.unsafeWrap instead as we are moving to PB 3. Mostly it is this way through out code base but missing a few places. Patch addresses all such cases. -- This message was sent by Atlassian JIRA (v6.3.4#6332)