You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2016/08/22 15:27:21 UTC

[jira] [Commented] (CASSANDRA-12518) dtest failure in upgrade_internal_auth_test.TestAuthUpgrade.upgrade_to_30_test

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

Sam Tunnicliffe commented on CASSANDRA-12518:
---------------------------------------------

The reason this is failing is that it attempts to start a 3.0 node with {{memtable_allocation_type: heap_buffers}} which isn't supported in that version, resulting in this error from node1's log:
{code}
ERROR [main] 2016-08-21 01:40:03,040 CassandraDaemon.java:709 - Exception encountered during startup
java.lang.ExceptionInInitializerError: null
	at org.apache.cassandra.db.lifecycle.Tracker.reset(Tracker.java:199) ~[main/:na]
	at org.apache.cassandra.db.lifecycle.Tracker.<init>(Tracker.java:76) ~[main/:na]
	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:392) ~[main/:na]
	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:361) ~[main/:na]
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:573) ~[main/:na]
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:550) ~[main/:na]
	at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:368) ~[main/:na]
	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:305) ~[main/:na]
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:129) ~[main/:na]
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:106) ~[main/:na]
	at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:887) ~[main/:na]
	at org.apache.cassandra.service.StartupChecks$8.execute(StartupChecks.java:304) ~[main/:na]
	at org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:107) ~[main/:na]
	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:175) [main/:na]
	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:568) [main/:na]
	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:696) [main/:na]
Caused by: org.apache.cassandra.exceptions.ConfigurationException: offheap_objects are not available in 3.0. They should be re-introduced in a future release, see https://issues.apache.org/jira/browse/CASSANDRA-9472 for details
	at org.apache.cassandra.config.DatabaseDescriptor.getMemtableAllocatorPool(DatabaseDescriptor.java:1887) ~[main/:na]
	at org.apache.cassandra.db.Memtable.<clinit>(Memtable.java:65) ~[main/:na]
	... 16 common frames omitted
{code}

I guess that this test is a little idiosyncratic in that it tests upgrading between 2 specific versions, whilst not being specifically "an upgrade test" (there are a couple of similar upgrade_* tests for CRC check chance & supercolumns). The original driver for this test was CASSANDRA-7653, which modified the schema for internal auth. This was committed in 2.2, but pre-ticktock we intended to support upgrades from 2.1 to both 2.2 and 3.0 and so this was the functionality explicitly tested - hence the 2 test cases here {{upgrade_to_22_test}} and {{upgrade_to_30_test}}. The first action I guess would be to exclude this test from any of the offheap dtest runs, as it can only ever fail there and any occurrence of the problems it is intended to catch would be highlighted by the non-offheap runs.

A followup question is whether the test should be rewritten to more fully exercise the various possible upgrade paths. A simple approach would be to just add an {{upgrade_to_trunk_test}} variant, but this would need amending when trunk moves to a version where we don't support upgrade from 2.1. 
 


> dtest failure in upgrade_internal_auth_test.TestAuthUpgrade.upgrade_to_30_test
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12518
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12518
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: Sean McCarthy
>
> example failure http://cassci.datastax.com/job/trunk_offheap_dtest/379/testReport/upgrade_internal_auth_test/TestAuthUpgrade/upgrade_to_30_test/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)