incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HAMA-212) When the index is zero, BytesUtil.getRowIndex will throws the IndexOutOfBound
Date Wed, 21 Oct 2009 13:07:59 GMT

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

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

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

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


Mime
View raw message