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 9759417DF5 for ; Tue, 10 Mar 2015 18:18:50 +0000 (UTC) Received: (qmail 31040 invoked by uid 500); 10 Mar 2015 18:18:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30995 invoked by uid 500); 10 Mar 2015 18:18:50 -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 30983 invoked by uid 99); 10 Mar 2015 18:18:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 18:18:50 +0000 Date: Tue, 10 Mar 2015 18:18:50 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (HBASE-11425) Cell/DBB end-to-end on the read-path 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-11425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-11425: ----------------------------------- Comment: was deleted (was: Having block data in compressed form in the BC is optional thing. In such a case, yes, have to decompress first and at that time, it can be to a byte array backed BB. We are not trying to change that. The change is when the data is cached in the non compressed form (But can be in the DBE form). Then avoiding need for copy. The block can be backed by N offheap buckets. Cells are made out of that. And cells are backed by buffers rather than byte[] then) > Cell/DBB end-to-end on the read-path > ------------------------------------ > > Key: HBASE-11425 > URL: https://issues.apache.org/jira/browse/HBASE-11425 > Project: HBase > Issue Type: Umbrella > Components: regionserver, Scanners > Affects Versions: 0.99.0 > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Attachments: Offheap reads in HBase using BBs_final.pdf > > > Umbrella jira to make sure we can have blocks cached in offheap backed cache. In the entire read path, we can refer to this offheap buffer and avoid onheap copying. > The high level items I can identify as of now are > 1. Avoid the array() call on BB in read path.. (This is there in many classes. We can handle class by class) > 2. Support Buffer based getter APIs in cell. In read path we will create a new Cell with backed by BB. Will need in CellComparator, Filter (like SCVF), CPs etc. > 3. Avoid KeyValue.ensureKeyValue() calls in read path - This make byte copy. > 4. Remove all CP hooks (which are already deprecated) which deal with KVs. (In read path) > Will add subtasks under this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)