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 7EF5C10749 for ; Thu, 3 Oct 2013 00:10:44 +0000 (UTC) Received: (qmail 66793 invoked by uid 500); 3 Oct 2013 00:10:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 66763 invoked by uid 500); 3 Oct 2013 00:10:44 -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 66754 invoked by uid 99); 3 Oct 2013 00:10:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 00:10:44 +0000 Date: Thu, 3 Oct 2013 00:10:44 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8521) Cells cannot be overwritten with bulk loaded HFiles 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-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784668#comment-13784668 ] Lars Hofhansl commented on HBASE-8521: -------------------------------------- Committed. Thanks JM! > Cells cannot be overwritten with bulk loaded HFiles > --------------------------------------------------- > > Key: HBASE-8521 > URL: https://issues.apache.org/jira/browse/HBASE-8521 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.1 > Reporter: Jonathan Natkins > Assignee: Jean-Marc Spaggiari > Fix For: 0.94.13 > > Attachments: HBASE-8521.diff, HBASE-8521-v0-0.94.patch, HBASE-8521-v1-0.94.patch, HBASE-8521-v2-0.94.patch, HBASE-8521-v3-0.94.patch, HBASE-8521-v4-0.94.patch, HBASE-8521-v4-addendum-0.94.patch, hfileDirs.tar.gz > > > Let's say you have a pre-built HFile that contains a cell: > ('rowkey1', 'family1', 'qual1', 1234L, 'value1') > We bulk load this first HFile. Now, let's create a second HFile that contains a cell that overwrites the first: > ('rowkey1', 'family1', 'qual1', 1234L, 'value2') > That gets bulk loaded into the table, but the value that HBase bubbles up is still 'value1'. > It seems that there's no way to overwrite a cell for a particular timestamp without an explicit put operation. This seems to be the case even after minor and major compactions happen. > My guess is that this is pretty closely related to the sequence number work being done on the compaction algorithm via HBASE-7842, but I'm not sure if one of would fix the other. -- This message was sent by Atlassian JIRA (v6.1#6144)