You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2010/08/17 19:19:16 UTC

[jira] Created: (CASSANDRA-1402) indexed writes fail with exception

indexed writes fail with exception
----------------------------------

                 Key: CASSANDRA-1402
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1402
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7 beta 1
            Reporter: Eric Evans
         Attachments: v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt

Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:


{noformat}
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -95
	at org.apache.cassandra.db.Table.apply(Table.java:379)
	at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
	at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
	... 3 more
{noformat}

The patch that follows updates ColumnFamilyStoreTest to demonstrate.

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


[jira] Updated: (CASSANDRA-1402) indexed writes fail with exception

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

Jonathan Ellis updated CASSANDRA-1402:
--------------------------------------

    Attachment: 1402.txt

that was embarassing.

> indexed writes fail with exception
> ----------------------------------
>
>                 Key: CASSANDRA-1402
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1402
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Eric Evans
>         Attachments: 1402.txt, v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt
>
>
> Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:
> {noformat}
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.db.Table.apply(Table.java:379)
> 	at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
> 	at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 3 more
> {noformat}
> The patch that follows updates ColumnFamilyStoreTest to demonstrate.

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


[jira] Updated: (CASSANDRA-1402) indexed writes fail with exception

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

Eric Evans updated CASSANDRA-1402:
----------------------------------

    Attachment: v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt

> indexed writes fail with exception
> ----------------------------------
>
>                 Key: CASSANDRA-1402
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1402
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Eric Evans
>         Attachments: v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt
>
>
> Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:
> {noformat}
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.db.Table.apply(Table.java:379)
> 	at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
> 	at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 3 more
> {noformat}
> The patch that follows updates ColumnFamilyStoreTest to demonstrate.

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


[jira] Commented: (CASSANDRA-1402) indexed writes fail with exception

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

Hudson commented on CASSANDRA-1402:
-----------------------------------

Integrated in Cassandra #517 (See [https://hudson.apache.org/hudson/job/Cassandra/517/])
    fix sharded lock hashing on index write path.  patch by jbellis; reviewed by eevans for CASSANDRA-1402


> indexed writes fail with exception
> ----------------------------------
>
>                 Key: CASSANDRA-1402
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1402
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Eric Evans
>         Attachments: 1402.txt, v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt
>
>
> Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:
> {noformat}
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.db.Table.apply(Table.java:379)
> 	at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
> 	at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 3 more
> {noformat}
> The patch that follows updates ColumnFamilyStoreTest to demonstrate.

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


[jira] Commented: (CASSANDRA-1402) indexed writes fail with exception

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899582#action_12899582 ] 

Eric Evans commented on CASSANDRA-1402:
---------------------------------------

LGTM. +1

> indexed writes fail with exception
> ----------------------------------
>
>                 Key: CASSANDRA-1402
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1402
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Eric Evans
>         Attachments: 1402.txt, v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt
>
>
> Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:
> {noformat}
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.db.Table.apply(Table.java:379)
> 	at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
> 	at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 3 more
> {noformat}
> The patch that follows updates ColumnFamilyStoreTest to demonstrate.

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


[jira] Resolved: (CASSANDRA-1402) indexed writes fail with exception

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

Jonathan Ellis resolved CASSANDRA-1402.
---------------------------------------

         Assignee: Jonathan Ellis
    Fix Version/s: 0.7 beta 2
       Resolution: Fixed

> indexed writes fail with exception
> ----------------------------------
>
>                 Key: CASSANDRA-1402
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1402
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 1
>            Reporter: Eric Evans
>            Assignee: Jonathan Ellis
>             Fix For: 0.7 beta 2
>
>         Attachments: 1402.txt, v1-0001-CASSANDRA-1402-make-test-case-fail-with-ArrayIndexOutO.txt
>
>
> Indexed writes fail with an ArrayIndexOutOfBoundsException depending on the length of the key:
> {noformat}
> java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:636)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -95
> 	at org.apache.cassandra.db.Table.apply(Table.java:379)
> 	at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
> 	at org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	... 3 more
> {noformat}
> The patch that follows updates ColumnFamilyStoreTest to demonstrate.

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