hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Anatoly (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11212) Fix increment index in KeyValueSortReducer
Date Tue, 20 May 2014 20:08:38 GMT
Gustavo Anatoly created HBASE-11212:
---------------------------------------

             Summary: Fix increment index in KeyValueSortReducer
                 Key: HBASE-11212
                 URL: https://issues.apache.org/jira/browse/HBASE-11212
             Project: HBase
          Issue Type: Bug
            Reporter: Gustavo Anatoly
            Assignee: Gustavo Anatoly
            Priority: Minor
             Fix For: 0.99.0, 0.98.3


The index is never incremented inside the loop, therefore context.setStatus also is never
set.
{code}
int index = 0;
for (KeyValue kv: map) {
  context.write(row, kv);
  if (index > 0 && index % 100 == 0) context.setStatus("Wrote " + index);
}
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message