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 11:57:59 UTC

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

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


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.


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

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

Running patch through hudson.

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


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768170#action_12768170 ] 

Hudson commented on HAMA-212:
-----------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12422790/HAMA-212_for_0.2.0.patch
against trunk revision 827933.

    @author +1.  The patch does not contain any @author tags.

    tests included +1.  The patch appears to include 3 new or modified tests.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new javac compiler warnings.

    release audit +1.  The applied patch does not generate any new release audit warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/197/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/197/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/197/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/197/console

This message is automatically generated.

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


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

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ 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.