cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6293) CASSANDRA-6107 causes EmbeddedCassandraService to fail
Date Wed, 20 Nov 2013 18:34:36 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-6293:
--------------------------------------

    Fix Version/s: 2.0.3

> CASSANDRA-6107 causes EmbeddedCassandraService to fail
> ------------------------------------------------------
>
>                 Key: CASSANDRA-6293
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6293
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>            Reporter: Michael Oczkowski
>            Assignee: Mikhail Stepura
>            Priority: Minor
>             Fix For: 1.2.12, 2.0.3
>
>         Attachments: CASSANDRA-1.2-6293.patch
>
>
> Starting with 1.2.11 calling statement.prepare() when running EmbeddedCassandraService
causes an exception due to missing Java agent.  Prior to 1.2.11 this never caused an exception,
though there were warnings in the logs about the missing agent.
> 2013-11-01 11:14:06,508 ERROR Native-Transport-Requests:109 org.apache.cassandra.transport.messages.ErrorMessage
- Unexpected exception during request
> java.lang.IllegalStateException: Instrumentation is not set; Jamm must be set as -javaagent
> 	at org.github.jamm.MemoryMeter.measure(MemoryMeter.java:70)
> 	at org.github.jamm.MemoryMeter.measureDeep(MemoryMeter.java:102)
> 	at org.apache.cassandra.cql3.QueryProcessor.storePreparedStatement(QueryProcessor.java:214)
> 	at org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:202)
> 	at org.apache.cassandra.transport.messages.PrepareMessage.execute(PrepareMessage.java:77)
> 	at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:287)
> 	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
> 	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
> 	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
> 	at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
> 	at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:722)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message