You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Billy Pearson (JIRA)" <ji...@apache.org> on 2008/10/28 16:36:45 UTC

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

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


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.


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

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

stack updated HBASE-968:
------------------------

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

Committed.  Thanks for the patch Billy.

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


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

Posted by "Billy Pearson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billy Pearson updated HBASE-968:
--------------------------------

    Attachment: 968-patch.txt

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


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

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

stack resolved HBASE-968.
-------------------------

    Resolution: Invalid

I backed it out.  Thanks for spotting it Doğacan Güney and for following up Billy.

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


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

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
    [ 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.


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

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

stack reopened HBASE-968:
-------------------------


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


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

Posted by "Billy Pearson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643314#action_12643314 ] 

Billy Pearson commented on HBASE-968:
-------------------------------------

Yes looks like it was fixed in 0.19.0 I was working from 0.18.1
sorry about that looks like the patch needs to be removed.

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


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

Posted by "Billy Pearson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billy Pearson updated HBASE-968:
--------------------------------

    Status: Patch Available  (was: Open)

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