cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10102) java.lang.UnsupportedOperationException after upgrade to 3.0 alpha1
Date Mon, 17 Aug 2015 18:56:46 GMT

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

Aleksey Yeschenko commented on CASSANDRA-10102:
-----------------------------------------------

Can you test with the current cassandra-3.0 head? There was an issue with the alpha, and that
was CASSANDRA-9704 not committed as planned.

It is now, and this *should* work.

> java.lang.UnsupportedOperationException after upgrade to 3.0 alpha1
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-10102
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10102
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Russ Hatch
>         Attachments: node1.log, node2.log, node3.log
>
>
> Upgrade tests are showing a potential issue. I'm seeing this during rolling upgrades
to 3.0 alpha 1, after one node has been upgraded to the alpha.
> I will attach cassandra logs here, node1.log is where most of the failures are seen.
> {noformat}
> ERROR [MessagingService-Incoming-/127.0.0.1] 2015-08-17 12:22:06,888 CassandraDaemon.java:189
- Exception in thread Thread[MessagingService-Incoming-/127.0.0.1,5,main]
> java.lang.UnsupportedOperationException: null
>         at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:485)
~[main/:na]
>         at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:444)
~[main/:na]
>         at org.apache.cassandra.net.MessageIn.read(MessageIn.java:98) ~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:195)
~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:172)
~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:90)
~[main/:na]
> INFO  [GossipStage:1] 2015-08-17 12:22:06,914 StorageService.java:1886 - Node /127.0.0.2
state jump to normal
> ERROR [MessagingService-Incoming-/127.0.0.1] 2015-08-17 12:22:06,915 CassandraDaemon.java:189
- Exception in thread Thread[MessagingService-Incoming-/127.0.0.1,5,main]
> java.lang.UnsupportedOperationException: null
>         at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:485)
~[main/:na]
>         at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:444)
~[main/:na]
>         at org.apache.cassandra.net.MessageIn.read(MessageIn.java:98) ~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:195)
~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:172)
~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:90)
~[main/:na]
> {noformat}
> Another exception showing in logs:
> {noformat}
> ERROR [SharedPool-Worker-1] 2015-08-17 12:22:19,358 ErrorMessage.java:336 - Unexpected
exception during request
> java.lang.UnsupportedOperationException: Version is 9
>         at org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.serializedSize(PartitionUpdate.java:760)
~[main/:na]
>         at org.apache.cassandra.db.Mutation$MutationSerializer.serializedSize(Mutation.java:334)
~[main/:na]
>         at org.apache.cassandra.db.Mutation$MutationSerializer.serializedSize(Mutation.java:246)
~[main/:na]
>         at org.apache.cassandra.net.MessageOut.payloadSize(MessageOut.java:166) ~[main/:na]
>         at org.apache.cassandra.net.OutboundTcpConnectionPool.getConnection(OutboundTcpConnectionPool.java:67)
~[main/:na]
>         at org.apache.cassandra.net.MessagingService.getConnection(MessagingService.java:587)
~[main/:na]
>         at org.apache.cassandra.net.MessagingService.sendOneWay(MessagingService.java:737)
~[main/:na]
>         at org.apache.cassandra.net.MessagingService.sendRR(MessagingService.java:702)
~[main/:na]
>         at org.apache.cassandra.service.StorageProxy.sendToHintedEndpoints(StorageProxy.java:1084)
~[main/:na]
>         at org.apache.cassandra.service.StorageProxy$2.apply(StorageProxy.java:125) ~[main/:na]
>         at org.apache.cassandra.service.StorageProxy.performWrite(StorageProxy.java:942)
~[main/:na]
>         at org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:549) ~[main/:na]
>         at org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:720)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:613)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:599)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:204)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:470)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:447)
~[main/:na]
>         at org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:139)
~[main/:na]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507)
[main/:na]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401)
[main/:na]
>         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_45]
>         at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164)
[main/:na]
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> {noformat}
> I'm seeing several occurences of both exceptions above.



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

Mime
View raw message