[
https://issues.apache.org/jira/browse/HBASE-11212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006687#comment-14006687
]
Hudson commented on HBASE-11212:
--------------------------------
FAILURE: Integrated in HBase-0.98 #311 (See
[https://builds.apache.org/job/HBase-0.98/311/])
HBASE-11212 Fix increment index in KeyValueSortReducer. (Gustavo Anatoly)
(larsh: rev 296714c7d2b6bbfa046e0f5171ca15a9af30d4fc)
*
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
> 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.94.20, 0.98.3
>
> Attachments: HBASE-11212.patch
>
>
> 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)