cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaroslav Kamenik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8209) Cassandra crashes when running on OpenJDK8 update 40
Date Thu, 30 Oct 2014 15:51:34 GMT

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

Jaroslav Kamenik commented on CASSANDRA-8209:
---------------------------------------------

It is not JDK bug, it is new feature, they changed Class structure. So, you can wait until
oracle release 8u40 and everyone who updates will have unusable Cassandra. Or fix it before
release...

> Cassandra crashes when running on OpenJDK8 update 40
> ----------------------------------------------------
>
>                 Key: CASSANDRA-8209
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8209
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jaroslav Kamenik
>
> It seems that problem is change made in update 40 - 
> https://bugs.openjdk.java.net/browse/JDK-6642881
> result is:
> java.lang.SecurityException: Cannot make java.lang.Class.classLoader accessible
>         at java.lang.reflect.AccessibleObject.setAccessible0(AccessibleObject.java:147)
~[na:1.8.0_40-ea]
>         at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:129)
~[na:1.8.0_40-ea]
>         at org.github.jamm.MemoryMeter.addFieldChildren(MemoryMeter.java:204) ~[jamm-0.2.6.jar:na]
>         at org.github.jamm.MemoryMeter.measureDeep(MemoryMeter.java:158) ~[jamm-0.2.6.jar:na]
>         at org.apache.cassandra.cql3.statements.SelectStatement.measureForPreparedCache(SelectStatement.java:166)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.cql3.QueryProcessor.measure(QueryProcessor.java:546)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.cql3.QueryProcessor.storePreparedStatement(QueryProcessor.java:441)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:404)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:388)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.transport.messages.PrepareMessage.execute(PrepareMessage.java:77)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:439)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:335)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_40-ea]
>         at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-2.1.1.jar:2.1.1]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-ea]



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

Mime
View raw message