You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/04/21 17:55:15 UTC

[jira] [Commented] (CASSANDRA-7002) concurrent_schema_changes_test snapshot_test dtest needs to account for hashed data dirs in 2.1

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

Brandon Williams commented on CASSANDRA-7002:
---------------------------------------------

We have three different problems here.  I fixed the first in the dtests at https://github.com/riptano/cassandra-dtest/commit/d423d53a26008b73abe6322e99c07e75abcf7f3a so they use globbing for the directory names, which should fix everything.  And indeed, the test now passes.  However, 'nodetool snapshot -t foo' will create a snapshot of all the system keyspaces, but none of the actual data keyspaces, so that's the second problem.  The third is that this test passes regardless, because it's a stupid test that just checks for schema agreement, and not actual data in the snapshot.

> concurrent_schema_changes_test snapshot_test dtest needs to account for hashed data dirs in 2.1
> -----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7002
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7002
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Michael Shuler
>            Assignee: Brandon Williams
>            Priority: Blocker
>
> {noformat}
> ======================================================================
> ERROR: snapshot_test (concurrent_schema_changes_test.TestConcurrentSchemaChanges)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/mshuler/git/cassandra-dtest/concurrent_schema_changes_test.py", line 299, in snapshot_test
>     for f in os.listdir(dirr):
> OSError: [Errno 2] No such file or directory: '/tmp/dtest-VZwotc/test/node1/data/ks_ns2/cf_ns2'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)