Gustavo Anatoly created HBASE-11235:
---------------------------------------

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


Fix increment index reported on to version 0.94: 
[https://issues.apache.org/jira/browse/HBASE-11212] 

{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)

Reply via email to