You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2009/10/21 12:07:59 UTC

[jira] Updated: (HAMA-212) When the index is zero, BytesUtil.getRowIndex will throws the IndexOutOfBound

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

Edward J. Yoon updated HAMA-212:
--------------------------------

    Attachment: HAMA-212_for_0.2.0.patch

Fixed that bug.
Replaced deprecated scan API.

> When the index is zero, BytesUtil.getRowIndex will throws the IndexOutOfBound
> -----------------------------------------------------------------------------
>
>                 Key: HAMA-212
>                 URL: https://issues.apache.org/jira/browse/HAMA-212
>             Project: Hama
>          Issue Type: Bug
>          Components: matrix
>    Affects Versions: 0.2.0, 0.1.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Critical
>             Fix For: 0.2.0, 0.1.0
>
>         Attachments: HAMA-212_for_0.2.0.patch
>
>
> Since I used while loop to count the prefix, BytesUtil.getRowIndex will throws the IndexOutOfBound when the index is zero.
> while (rKey.charAt(i) == '0') {
>   i++;
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.