Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14056

Many dtests fail with ConfigurationException: offheap_objects are not available in 3.0 when OFFHEAP_MEMTABLES="true"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Test/dtest/python
    • None
    • Normal

    Description

      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)

      [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
      

      Attachments

        Activity

          People

            alourie Alex Lourie
            mkjellman Michael Kjellman
            Alex Lourie
            Jason Brown
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: