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