[jira] [Updated] (HBASE-11212) Fix increment index in KeyValueSortReducer

2014-05-22 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-11212:
--

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed to 0.94, 0.98, master for now.

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


[jira] [Updated] (HBASE-11212) Fix increment index in KeyValueSortReducer

2014-05-22 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-11212:
--

Fix Version/s: 0.94.20

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


[jira] [Updated] (HBASE-11212) Fix increment index in KeyValueSortReducer

2014-05-20 Thread Gustavo Anatoly (JIRA)

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

Gustavo Anatoly updated HBASE-11212:


Attachment: HBASE-11212.patch

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


[jira] [Updated] (HBASE-11212) Fix increment index in KeyValueSortReducer

2014-05-20 Thread Gustavo Anatoly (JIRA)

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

Gustavo Anatoly updated HBASE-11212:


Status: Patch Available  (was: Open)

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