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

Cassandra does not support openjdk version "1.8.0_202"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Information Provided
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Platform:
      All
    • Impacts:
      None

      Description

      I am trying to setup Apache Cassandra DB 3.11.4 version in my Windows 8 system  and getting below error while starting the Cassandra.bat file.

       Software installed:

      • Cassandra 3.11.4 
      • Java 1.8 
      • Python 2.7

      It started working after installing HotSpot jdk 1.8 . 

      Are we not supporting openjdk1.8 or only the issue with the particular version (1.8.0_202).

       

       

      Exception (java.lang.ExceptionInInitializerError) encountered during startup: null
      java.lang.ExceptionInInitializerError
              at java.lang.J9VMInternals.ensureError(J9VMInternals.java:146)
              at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:135)
              at org.apache.cassandra.utils.ObjectSizes.sizeOfReferenceArray(ObjectSizes.java:79)
              at org.apache.cassandra.utils.ObjectSizes.sizeOfArray(ObjectSizes.java:89)
              at org.apache.cassandra.utils.ObjectSizes.sizeOnHeapExcludingData(ObjectSizes.java:112)
              at org.apache.cassandra.db.AbstractBufferClusteringPrefix.unsharedHeapSizeExcludingData(AbstractBufferClusteringPrefix.java:70)
              at org.apache.cassandra.db.rows.BTreeRow.unsharedHeapSizeExcludingData(BTreeRow.java:450)
              at org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:336)
              at org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:295)
              at org.apache.cassandra.utils.btree.BTree.buildInternal(BTree.java:139)
              at org.apache.cassandra.utils.btree.BTree.build(BTree.java:121)
              at org.apache.cassandra.utils.btree.BTree.update(BTree.java:178)
              at org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta(AtomicBTreePartition.java:156)
              at org.apache.cassandra.db.Memtable.put(Memtable.java:282)
              at org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1352)
              at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626)
              at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:470)
              at org.apache.cassandra.db.Mutation.apply(Mutation.java:227)
              at org.apache.cassandra.db.Mutation.apply(Mutation.java:232)
              at org.apache.cassandra.db.Mutation.apply(Mutation.java:241)
              at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternalWithoutCondition(ModificationStatement.java:587)
              at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternal(ModificationStatement.java:581)
              at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:365)
              at org.apache.cassandra.db.SystemKeyspace.persistLocalMetadata(SystemKeyspace.java:520)
              at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:221)
              at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:620)
              at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:732)
      Caused by: java.lang.NumberFormatException: For input string: "openj9-0"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Integer.parseInt(Integer.java:580)
              at java.lang.Integer.parseInt(Integer.java:615)
              at org.github.jamm.MemoryLayoutSpecification.getEffectiveMemoryLayoutSpecification(MemoryLayoutSpecification.java:190)
              at org.github.jamm.MemoryLayoutSpecification.<clinit>(MemoryLayoutSpecification.java:31)
      

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Ashish_Cass ASHISH
                Reporter:
                panneerboss Panneerselvam
                Authors:
                ASHISH
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: