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

Alex Lourie commented on CASSANDRA-14056:
-----------------------------------------

[~mkjellman] I've added a check for a specific C* version to avoid actually 
running any tests if the C* version is 3.0.x and less than 3.4; the patch is  
https://github.com/alourie/cassandra-dtest/commit/0a9661e3ed404856302ab05de4d51b2d65e9e872.
 Please have a look whether that's what you had in mind.

Thanks.

> Many dtests fail with ConfigurationException: offheap_objects are not 
> available in 3.0 when OFFHEAP_MEMTABLES="true"
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14056
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14056
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Michael Kjellman
>            Assignee: Alex Lourie
>
> Tons of dtests are running when they shouldn't as it looks like the path is 
> no longer supported.. we need to add a bunch of logic that's missing to fully 
> support running dtests with off-heap memtables enabled (via the 
> OFFHEAP_MEMTABLES="true" environment variable)
> {code}[node2 ERROR] java.lang.ExceptionInInitializerError
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:394)
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:361)
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:577)
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:554)
>       at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:368)
>       at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:305)
>       at org.apache.cassandra.db.Keyspace.open(Keyspace.java:129)
>       at org.apache.cassandra.db.Keyspace.open(Keyspace.java:106)
>       at 
> org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:887)
>       at 
> org.apache.cassandra.service.StartupChecks$9.execute(StartupChecks.java:354)
>       at 
> org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:110)
>       at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:179)
>       at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:569)
>       at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:697)
> Caused by: org.apache.cassandra.exceptions.ConfigurationException: 
> offheap_objects are not available in 3.0. They will 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:1907)
>       at org.apache.cassandra.db.Memtable.<clinit>(Memtable.java:65)
>       ... 14 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to