cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Panneerselvam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-15128) Cassandra does not support openjdk version "1.8.0_202"
Date Thu, 16 May 2019 06:32:00 GMT

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

Panneerselvam commented on CASSANDRA-15128:
-------------------------------------------

*+Please find the details below before and after the jdk change.+*

 

*+Before changing to oracle jdk :+  * Caused Issue++

 

C:\Users\panneer>java -version

openjdk version "1.8.0_202"

OpenJDK Runtime Environment (build 1.8.0_202-b08)

Eclipse OpenJ9 VM (build openj9-0.12.1, JRE 1.8.0 Windows 8.1 amd64-64-Bit Compressed References
20190205_265 (JIT enabled, AOT enabled)

OpenJ9   - 90dd8cb40

OMR      - d2f4534b

JCL      - d002501a90 based on jdk8u202-b08)

 

*+After changing to oracle jdk:+*   ++  Working version

 

C:\Users\panneer>D:\Softwares\Java\jdk1.8.0_141\bin\java -version

java version "1.8.0_141"

Java(TM) SE Runtime Environment (build 1.8.0_141-b15)

Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)

> Cassandra does not support openjdk version "1.8.0_202"
> ------------------------------------------------------
>
>                 Key: CASSANDRA-15128
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15128
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build
>            Reporter: Panneerselvam
>            Priority: Normal
>
> 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).
>  
>  
> {code:java}
> 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)
> {code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message