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 4B9CD173AD for ; Mon, 27 Oct 2014 06:12:34 +0000 (UTC) Received: (qmail 80021 invoked by uid 500); 27 Oct 2014 06:12:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 79991 invoked by uid 500); 27 Oct 2014 06:12:33 -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 79974 invoked by uid 99); 27 Oct 2014 06:12:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 06:12:33 +0000 Date: Mon, 27 Oct 2014 06:12:33 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12282) Ensure Cells and its implementations work with Buffers also 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-12282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184875#comment-14184875 ] Anoop Sam John commented on HBASE-12282: ---------------------------------------- Yep. When we have seeks we pass the SeekKey backed into a KeyOnlyKV now. May be that also we can pass in as BB backed Cell. So in the Compare path we have BB Backed Cells alone. But the comparator need to make sure it can work with buffer backed also (?) There is a bit challenge to make it perfect design. > Ensure Cells and its implementations work with Buffers also > ----------------------------------------------------------- > > Key: HBASE-12282 > URL: https://issues.apache.org/jira/browse/HBASE-12282 > Project: HBase > Issue Type: Sub-task > Components: regionserver, Scanners > Affects Versions: 0.99.1 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 2.0.0, 0.99.2 > > Attachments: HBASE-12224_2.patch > > > This issue can be used to brainstorm and then do the necessary changes for the offheap work. All impl of cells deal with byte[] but when we change the Hfileblocks/Readers to work purely with Buffers then the byte[] usage would mean that always the data is copied to the onheap. Cell may need some interface change to implement this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)