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 A17A910520 for ; Fri, 22 Nov 2013 18:46:37 +0000 (UTC) Received: (qmail 41844 invoked by uid 500); 22 Nov 2013 18:46:37 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 41813 invoked by uid 500); 22 Nov 2013 18:46:37 -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 41804 invoked by uid 99); 22 Nov 2013 18:46:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 18:46:37 +0000 Date: Fri, 22 Nov 2013 18:46:37 +0000 (UTC) From: "Roman Nikitchenko (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10017) HRegionPartitioner, rows directed to last partition are wrongly mapped. 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-10017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Nikitchenko updated HBASE-10017: -------------------------------------- Status: Open (was: Patch Available) > HRegionPartitioner, rows directed to last partition are wrongly mapped. > ----------------------------------------------------------------------- > > Key: HBASE-10017 > URL: https://issues.apache.org/jira/browse/HBASE-10017 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 0.94.6 > Reporter: Roman Nikitchenko > > Inside HRegionPartitioner class there is getPartition() method which should map first numPartitions regions to appropriate partitions 1:1. But based on condition last region is hashed which could lead to last reducer not having any data. This is considered serious issue. > I reproduced this only starting from 16 regions per table. Original defect was found in 0.94.6 but at least today's trunk and 0.91 branch head have the same HRegionPartitioner code in this part which means the same issue. -- This message was sent by Atlassian JIRA (v6.1#6144)