[jira] [Updated] (CASSANDRA-6293) CASSANDRA-6107 causes EmbeddedCassandraService to fail
[ 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)
[jira] [Updated] (CASSANDRA-6293) CASSANDRA-6107 causes EmbeddedCassandraService to fail
[ https://issues.apache.org/jira/browse/CASSANDRA-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Mazursky updated CASSANDRA-6293: Reproduced In: 2.0.2 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 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)
[jira] [Updated] (CASSANDRA-6293) CASSANDRA-6107 causes EmbeddedCassandraService to fail
[ 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: 1.2.12 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 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)
[jira] [Updated] (CASSANDRA-6293) CASSANDRA-6107 causes EmbeddedCassandraService to fail
[ https://issues.apache.org/jira/browse/CASSANDRA-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-6293: -- Priority: Minor (was: Major) Issue Type: Wish (was: Bug) Running with JAMM isn't really supported but you're welcome to contribute an alternative. 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 Priority: Minor 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)
[jira] [Updated] (CASSANDRA-6293) CASSANDRA-6107 causes EmbeddedCassandraService to fail
[ https://issues.apache.org/jira/browse/CASSANDRA-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Stepura updated CASSANDRA-6293: --- Attachment: CASSANDRA-1.2-6293.patch We can fallback to the old approach (with {{MAX_CACHE_PREPARED = 10}} if JAMM is not configured. 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 Priority: Minor 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)