You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2008/10/28 20:23:44 UTC

[jira] Commented: (HBASE-968) ArrayIndexOutOfBoundsException from Cell iterator()

    [ https://issues.apache.org/jira/browse/HBASE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643312#action_12643312 ] 

Doğacan Güney commented on HBASE-968:
-------------------------------------

Didn't I already fix this in HBASE-892? I think this "re-fixes" it and breaks iteration again:

{code}
  public static void main(String [] args) {
    String[] vals = {"a", "b", "c"};
    long[] ts = {1, 2, 3};
    Cell cell = new Cell(vals, ts);
    for (Cell c : cell) {
       System.out.println(Bytes.toString(c.getValue()));
    }
  }
{code}

Output:
a
b

Last value is always skipped if I am not mistaken.

> ArrayIndexOutOfBoundsException from Cell iterator()
> ---------------------------------------------------
>
>                 Key: HBASE-968
>                 URL: https://issues.apache.org/jira/browse/HBASE-968
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Billy Pearson
>            Assignee: Billy Pearson
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: 968-patch.txt
>
>
> I get a java.lang.ArrayIndexOutOfBoundsException from cell iterator()
> It has a logic error on the count

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