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 77DBD18B08 for ; Wed, 20 Jan 2016 03:07:40 +0000 (UTC) Received: (qmail 40185 invoked by uid 500); 20 Jan 2016 03:07:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 40093 invoked by uid 500); 20 Jan 2016 03:07:40 -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 39999 invoked by uid 99); 20 Jan 2016 03:07:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2016 03:07:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EAB012C1F64 for ; Wed, 20 Jan 2016 03:07:39 +0000 (UTC) Date: Wed, 20 Jan 2016 03:07:39 +0000 (UTC) From: "Toshihiro Suzuki (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15133) Data loss after compaction when a row has more than Integer.MAX_VALUE columns 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-15133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toshihiro Suzuki updated HBASE-15133: ------------------------------------- Attachment: master.patch I attached the patch. > Data loss after compaction when a row has more than Integer.MAX_VALUE columns > ----------------------------------------------------------------------------- > > Key: HBASE-15133 > URL: https://issues.apache.org/jira/browse/HBASE-15133 > Project: HBase > Issue Type: Bug > Components: Compaction > Reporter: Toshihiro Suzuki > Attachments: master.patch > > > We have lost the data in our development environment when a row has more than Integer.MAX_VALUE columns after compaction. > I think the reason is type of StoreScanner's countPerRow is int. > https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L67 > After changing the type to long, it seems to be fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)