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 95E0E117A0 for ; Fri, 22 Aug 2014 05:17:12 +0000 (UTC) Received: (qmail 26144 invoked by uid 500); 22 Aug 2014 05:17:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 26102 invoked by uid 500); 22 Aug 2014 05:17: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 26079 invoked by uid 99); 22 Aug 2014 05:17:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2014 05:17:12 +0000 Date: Fri, 22 Aug 2014 05:17:12 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11777) Find a way to use KV.setSequenceId() on Cells on the server-side 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-11777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106474#comment-14106474 ] stack commented on HBASE-11777: ------------------------------- Makes sense Ram. You know, servers-side, we have to be able to set the sequence id on the Cell/KV when writing at least (we set the sequenceid after we've written the WAL in ringbuffer event handler... see stampRegionSequenceId. Its stamping a KV, not a Cell. So its another place where we need to be able to set seqid on a Cell. > Find a way to use KV.setSequenceId() on Cells on the server-side read path > -------------------------------------------------------------------------- > > Key: HBASE-11777 > URL: https://issues.apache.org/jira/browse/HBASE-11777 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.99.0 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Attachments: CellWithSequenceNumber.java > > > Over in HBASE-11591 there was a need to set the sequenceId of the HFile to the bulk loaded KVs. Since we are trying to use the concept of Cells in the read path if we need to use setSequenceId(), then the Cell has to be converted to KV and only KeyValue impl has the accessor setSequenceId(). > [~anoop.hbase] suggested if we can use a Server side impl of Cell and have these accessors in them. > This JIRA aims to solve this and see the related code changes that needs to be carried out for this. -- This message was sent by Atlassian JIRA (v6.2#6252)