Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: (qmail 21105 invoked from network); 21 Oct 2009 10:46:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 10:46:23 -0000 Received: (qmail 593 invoked by uid 500); 21 Oct 2009 10:46:23 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 540 invoked by uid 500); 21 Oct 2009 10:46:23 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 530 invoked by uid 99); 21 Oct 2009 10:46:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 10:46:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 10:46:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7283C234C1EE for ; Wed, 21 Oct 2009 03:45:59 -0700 (PDT) Message-ID: <428147372.1256121959467.JavaMail.jira@brutus> Date: Wed, 21 Oct 2009 10:45:59 +0000 (UTC) From: "Hudson (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Commented: (HAMA-212) When the index is zero, BytesUtil.getRowIndex will throws the IndexOutOfBound In-Reply-To: <345377172.1256119079575.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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.