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

Pavel Yaskevich commented on CASSANDRA-3292:
--------------------------------------------

you forgot to remove Table.renameCf method and some of the tests are failing
{noformat}
    [junit] Testsuite: org.apache.cassandra.db.ReadMessageTest
    [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 0,599 sec
    [junit] 
    [junit] Testcase: testNoCommitLog(org.apache.cassandra.db.ReadMessageTest): 
FAILED
    [junit] 
    [junit] junit.framework.AssertionFailedError: 
    [junit]     at 
org.apache.cassandra.db.ReadMessageTest.testNoCommitLog(ReadMessageTest.java:135)
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.db.ReadMessageTest FAILED
    [junit] Testsuite: org.apache.cassandra.db.RecoveryManager2Test
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,669 sec
    [junit] 
    [junit] Testcase: 
testWithFlush(org.apache.cassandra.db.RecoveryManager2Test):      FAILED
    [junit] Expecting only 1 replayed mutation, got 0
    [junit] junit.framework.AssertionFailedError: Expecting only 1 replayed 
mutation, got 0
    [junit]     at 
org.apache.cassandra.db.RecoveryManager2Test.testWithFlush(RecoveryManager2Test.java:68)
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.db.RecoveryManager2Test FAILED
    [junit] Testsuite: org.apache.cassandra.db.RecoveryManager3Test
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,621 sec
    [junit] 
    [junit] Testcase: 
testMissingHeader(org.apache.cassandra.db.RecoveryManager3Test):  FAILED
    [junit] Columns [(as string: )])] is not expected [col1]
    [junit] junit.framework.AssertionFailedError: Columns [(as string: )])] is 
not expected [col1]
    [junit]     at 
org.apache.cassandra.db.TableTest.assertColumns(TableTest.java:553)
    [junit]     at 
org.apache.cassandra.db.TableTest.assertColumns(TableTest.java:514)
    [junit]     at 
org.apache.cassandra.db.RecoveryManager3Test.testMissingHeader(RecoveryManager3Test.java:76)
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.db.RecoveryManager3Test FAILED
    [junit] Testsuite: org.apache.cassandra.db.RecoveryManagerTest
    [junit] Tests run: 3, Failures: 1, Errors: 1, Time elapsed: 0,611 sec
    [junit] 
    [junit] Testcase: testOne(org.apache.cassandra.db.RecoveryManagerTest):     
FAILED
    [junit] Columns [(as string: )])] is not expected [col1]
    [junit] junit.framework.AssertionFailedError: Columns [(as string: )])] is 
not expected [col1]
    [junit]     at 
org.apache.cassandra.db.TableTest.assertColumns(TableTest.java:553)
    [junit]     at 
org.apache.cassandra.db.TableTest.assertColumns(TableTest.java:514)
    [junit]     at 
org.apache.cassandra.db.RecoveryManagerTest.testOne(RecoveryManagerTest.java:70)
    [junit] 
    [junit] 
    [junit] Testcase: 
testRecoverCounter(org.apache.cassandra.db.RecoveryManagerTest):  Caused an 
ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at 
org.apache.cassandra.db.RecoveryManagerTest.testRecoverCounter(RecoveryManagerTest.java:99)
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.db.RecoveryManagerTest FAILED
{noformat}

Otherwise it seems to be the way to go :)
                
> creating column family sets durable_writes to true
> --------------------------------------------------
>
>                 Key: CASSANDRA-3292
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3292
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.5
>            Reporter: Radim Kolar
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: schema
>             Fix For: 0.8.8
>
>         Attachments: 0001-r-m-rename-migrations.patch, 
> 0002-add-KSMetaData.cloneWith-testMetadata-and-systemKeys.patch
>
>
> [default@rapidshare] describe keyspace rapidshare;
> Keyspace: rapidshare:
>   Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
>   Durable Writes: *false*
>     Options: [datacenter1:1]
>   Column Families:
> [default@rapidshare] create column family t1;
> 1ba19300-ebfa-11e0-0000-34912694d0bf
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@rapidshare] describe keyspace rapidshare;
> Keyspace: rapidshare:
>   Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
>   Durable Writes: *true*
>     Options: [datacenter1:1]
>   Column Families:
>     ColumnFamily: t1
>       Key Validation Class: org.apache.cassandra.db.marshal.BytesType
>       Default column value validator: 
> org.apache.cassandra.db.marshal.BytesType
>       Columns sorted by: org.apache.cassandra.db.marshal.BytesType
>       Row cache size / save period in seconds: 0.0/0
>       Key cache size / save period in seconds: 200000.0/14400
>       Memtable thresholds: 0.028124999999999997/1440/6 (millions of 
> ops/minutes/MB)
>       GC grace seconds: 864000
>       Compaction min/max thresholds: 4/32
>       Read repair chance: 1.0
>       Replicate on write: true
>       Built indexes: []

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

        

Reply via email to