hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10417) index is not incremented in PutSortReducer#reduce()
Date Sat, 25 Jan 2014 00:21:40 GMT
Ted Yu created HBASE-10417:
------------------------------

             Summary: 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
            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.1.5#6160)

Mime
View raw message