hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10417) index is not incremented in PutSortReducer#reduce()
Date Wed, 21 May 2014 05:51:39 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004384#comment-14004384
] 

Hudson commented on HBASE-10417:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #5135 (See [https://builds.apache.org/job/HBase-TRUNK/5135/])
HBASE-10417 index is not incremented in PutSortReducer#reduce() (Gustavo) (tedyu: rev 1596381)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java


> 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
>             Fix For: 0.99.0, 0.98.3
>
>         Attachments: HBASE-10417.patch
>
>
> 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)

Mime
View raw message