You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gustavo Anatoly (JIRA)" <ji...@apache.org> on 2014/05/06 16:34:31 UTC

[jira] [Assigned] (HBASE-10417) index is not incremented in PutSortReducer#reduce()

     [ https://issues.apache.org/jira/browse/HBASE-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Anatoly reassigned HBASE-10417:
---------------------------------------

    Assignee: Gustavo Anatoly

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