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 3D370180EE for ; Wed, 1 Jul 2015 22:22:06 +0000 (UTC) Received: (qmail 68096 invoked by uid 500); 1 Jul 2015 22:22:06 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 68046 invoked by uid 500); 1 Jul 2015 22:22:06 -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 67968 invoked by uid 99); 1 Jul 2015 22:22:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 22:22:06 +0000 Date: Wed, 1 Jul 2015 22:22:05 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13978) Variable never assigned in SimpleTotalOrderPartitioner.getPartition() 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-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611087#comment-14611087 ] Hudson commented on HBASE-13978: -------------------------------- SUCCESS: Integrated in HBase-1.3-IT #16 (See [https://builds.apache.org/job/HBase-1.3-IT/16/]) HBASE-13978: Variable never assigned in SimpleTotalOrderPartitioner.getPartition() (busbey: rev 0455e54c1d3a0a8219b44909a2aadb12016999c6) * hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SimpleTotalOrderPartitioner.java > Variable never assigned in SimpleTotalOrderPartitioner.getPartition() > ---------------------------------------------------------------------- > > Key: HBASE-13978 > URL: https://issues.apache.org/jira/browse/HBASE-13978 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 1.1.0.1 > Reporter: Lars George > Assignee: Bhupendra Kumar Jain > Labels: beginner > Fix For: 2.0.0, 1.2.0 > > Attachments: 0001-HBASE-13978-Variable-never-assigned-in-SimpleTotalOr.patch > > > See https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SimpleTotalOrderPartitioner.java#L104, which has an {{if}} statement that tries to limit the code to run only once, but since it does not assign {{this.lastReduces}} it will always trigger and recompute the splits (and log them). -- This message was sent by Atlassian JIRA (v6.3.4#6332)