cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Patterson (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CASSANDRA-3884) Intermittent SchemaDisagreementException
Date Fri, 10 Feb 2012 17:47:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205571#comment-13205571
] 

Tyler Patterson edited comment on CASSANDRA-3884 at 2/10/12 5:46 PM:
---------------------------------------------------------------------

I found another problem that might be related. When I drop and re-create a column family while
that column family is being compacted, I sometimes see the following error in the logs: 
{code}
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,773 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-73-Data.db
(it will be removed on server restart; we'll also retry after GC)
 INFO [CompactionExecutor:4] 2012-02-10 00:32:27,774 CompactionTask.java (line 226) Compacted
to [/tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-82-Data.db,].
 94,406,208 to 11,542,817 (~12% of original) bytes for 302,584 keys at 1.436150MB/s.  Time:
7,665ms.
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,774 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-69-Data.db
(it will be removed on server restart; we'll also retry after GC)
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,778 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-80-Data.db
(it will be removed on server restart; we'll also retry after GC)
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,779 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-79-Data.db
(it will be removed on server restart; we'll also retry after GC)
{code}
The dtest failing_tests/change_schema_under_load.py illustrates the problem.
                
      was (Author: tpatterson):
    I found another problem that might be related. When I drop and re-create a column family
while that column family is being compacted, I sometimes see the following error in the logs:

{% code %}
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,773 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-73-Data.db
(it will be removed on server restart; we'll also retry after GC)
 INFO [CompactionExecutor:4] 2012-02-10 00:32:27,774 CompactionTask.java (line 226) Compacted
to [/tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-82-Data.db,].
 94,406,208 to 11,542,817 (~12% of original) bytes for 302,584 keys at 1.436150MB/s.  Time:
7,665ms.
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,774 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-69-Data.db
(it will be removed on server restart; we'll also retry after GC)
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,778 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-80-Data.db
(it will be removed on server restart; we'll also retry after GC)
ERROR [NonPeriodicTasks:1] 2012-02-10 00:32:27,779 SSTableDeletingTask.java (line 76) Unable
to delete /tmp/dtest-l4IQpd/test/node1/data/Keyspace1/Standard1/Keyspace1-Standard1-hc-79-Data.db
(it will be removed on server restart; we'll also retry after GC)
{% code %}
 failing_tests/change_schema_under_load.py
                  
> Intermittent SchemaDisagreementException
> ----------------------------------------
>
>                 Key: CASSANDRA-3884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3884
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: using ccm on ubuntu. 
>            Reporter: Tyler Patterson
>
> Set up a cluster of two nodes (on cassandra-1.1), create some keyspaces and column families,
and then make several schema changes. Everything is being done through only one of the nodes.
 About once every 10 times (on my setup) I get a SchemaDisagreementException when creating
and dropping keyspaces. 
> There is a dtest for this: schema_changes_test.py. If your environment behaves like mine,
you might need to run it 10 times to get the error.

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

        

Mime
View raw message