You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Radim Kolar (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 08:58:34 UTC
[jira] [Created] (CASSANDRA-3313) Cancelling index build throws
assert error
Cancelling index build throws assert error
------------------------------------------
Key: CASSANDRA-3313
URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
Project: Cassandra
Issue Type: Bug
Affects Versions: 1.0.0
Reporter: Radim Kolar
Canceling index build throws this, but checking log there was no compaction running in background.
INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
s, 1 ops)
ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
java.lang.AssertionError
at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
(SecondaryIndexManager.java:397)
at org.apache.cassandra.db.Table.indexRow(Table.java:534)
at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
dexBuilder.java:64)
at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
Manager.java:856)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
-1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-3313.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.1
Reviewer: slebresne
actually it's not quite the same, got confused by merge conflicts
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Radim Kolar
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: indexing
> Fix For: 1.0.1
>
> Attachments: 3313.txt
>
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120728#comment-13120728 ]
Jonathan Ellis commented on CASSANDRA-3313:
-------------------------------------------
I'm not aware of a 'cancel index build' command so I'm curious what you mean by that.
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Radim Kolar
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132046#comment-13132046 ]
Jonathan Ellis commented on CASSANDRA-3313:
-------------------------------------------
rebased + committed
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Radim Kolar
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: indexing
> Fix For: 1.0.1
>
> Attachments: 3313.txt
>
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Jonathan Ellis (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reopened CASSANDRA-3313:
---------------------------------------
Assignee: Jonathan Ellis
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Radim Kolar
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: indexing
> Fix For: 1.0.1
>
> Attachments: 3313.txt
>
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3313:
--------------------------------------
Reviewer: slebresne
Priority: Minor (was: Major)
Affects Version/s: (was: 1.0.0)
0.7.0
Fix Version/s: 1.0.1
Assignee: Jonathan Ellis
Labels: indexing (was: )
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Radim Kolar
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: indexing
> Fix For: 1.0.1
>
> Attachments: 3313.txt
>
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130750#comment-13130750 ]
Sylvain Lebresne commented on CASSANDRA-3313:
---------------------------------------------
+1
nitpick: to be uber pedantic, we could use the row key validator to print the row key in the log messages.
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Radim Kolar
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: indexing
> Fix For: 1.0.1
>
> Attachments: 3313.txt
>
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Radim Kolar (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120857#comment-13120857 ]
Radim Kolar commented on CASSANDRA-3313:
----------------------------------------
redefine CF to column_metadata without index.
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Radim Kolar
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3313) Cancelling index build throws
assert error
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3313:
--------------------------------------
Attachment: 3313.txt
patch to accommodate index disappearing mid-update. applies on top of CASSANDRA-3314.
> Cancelling index build throws assert error
> ------------------------------------------
>
> Key: CASSANDRA-3313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3313
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Radim Kolar
> Attachments: 3313.txt
>
>
> Canceling index build throws this, but checking log there was no compaction running in background.
> INFO 08:46:41,343 Writing Memtable-IndexInfo@9480253(34/42 serialized/live byte
> s, 1 ops)
> ERROR 08:46:41,343 Fatal exception in thread Thread[CompactionExecutor:3,5,main]
> java.lang.AssertionError
> at org.apache.cassandra.db.index.SecondaryIndexManager.applyIndexUpdates
> (SecondaryIndexManager.java:397)
> at org.apache.cassandra.db.Table.indexRow(Table.java:534)
> at org.apache.cassandra.db.index.SecondaryIndexBuilder.build(SecondaryIn
> dexBuilder.java:64)
> at org.apache.cassandra.db.compaction.CompactionManager$7.run(Compaction
> Manager.java:856)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
> at java.lang.Thread.run(Thread.java:662)
> INFO 08:46:41,531 Completed flushing \var\lib\cassandra\data\system\IndexInfo-h
> -1-Data.db (88 bytes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira