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 2FADA1115E for ; Tue, 20 May 2014 13:54:39 +0000 (UTC) Received: (qmail 91522 invoked by uid 500); 20 May 2014 13:54:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91485 invoked by uid 500); 20 May 2014 13:54:39 -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 91477 invoked by uid 99); 20 May 2014 13:54:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 13:54:38 +0000 Date: Tue, 20 May 2014 13:54:38 +0000 (UTC) From: "Gustavo Anatoly (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10417) index is not incremented in PutSortReducer#reduce() 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-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gustavo Anatoly updated HBASE-10417: ------------------------------------ Attachment: HBASE-10417.patch > index is not incremented in PutSortReducer#reduce() > --------------------------------------------------- > > Key: HBASE-10417 > URL: https://issues.apache.org/jira/browse/HBASE-10417 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Gustavo Anatoly > Priority: Minor > Attachments: HBASE-10417.patch > > > Starting at line 76: > {code} > int index = 0; > for (KeyValue kv : map) { > context.write(row, kv); > if (index > 0 && index % 100 == 0) > context.setStatus("Wrote " + index); > {code} > index is a variable inside while loop that is never incremented. > The condition "index > 0" cannot be true. -- This message was sent by Atlassian JIRA (v6.2#6252)