cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-8653) Upgrading to trunk with auth throws exception
Date Fri, 30 Oct 2015 16:37:27 GMT

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

Sam Tunnicliffe resolved CASSANDRA-8653.
----------------------------------------
    Resolution: Not A Problem

Tracked down the hints file issue to a problem with ccm, whereby the {{hints_directory}} isn't
properly set during the upgrade, causing the cluster nodes to share a single location, so
I've opened a [ccm pull request|https://github.com/pcmanus/ccm/pull/404] to fix that.

Running the {{upgrade_to_22_test}} also fails, but for a different reason. Once the first
node has been upgraded, cql connections to it start timing out. This seems to be very similar
to the problem described in [PYTHON-303|https://datastax-oss.atlassian.net/browse/PYTHON-303]
and raising the timeout in the dtest gets it passing again. Opened a [dtest pull request|https://github.com/riptano/cassandra-dtest/pull/638]
for that, which also removes the {{\@requires(9704)}} on {{upgrade_to_30_test}}. 

> Upgrading to trunk with auth throws exception
> ---------------------------------------------
>
>                 Key: CASSANDRA-8653
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8653
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Philip Thompson
>            Assignee: Sam Tunnicliffe
>             Fix For: 3.0.0
>
>         Attachments: node1.log, node2.log, node3.log
>
>
> When running Sam's upgrade_internal_auth_dtest, I am seeing the following exception (amongst
others) in the log file of the second node to be upgraded to trunk from 2.1:
> {code}
> ERROR [GossipStage:1] 2015-01-20 13:46:21,679 CassandraDaemon.java:170 - Exception in
thread Thread[GossipStage:1,5,main]
> java.lang.NoClassDefFoundError: org/apache/cassandra/transport/Event$TopologyChange$Change
>         at org.apache.cassandra.transport.Server$EventNotifier.onJoinCluster(Server.java:374)
~[main/:na]
>         at org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:1668)
~[main/:na]
>         at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1384)
~[main/:na]
>         at org.apache.cassandra.gms.Gossiper.doOnChangeNotifications(Gossiper.java:1094)
~[main/:na]
>         at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossiper.java:1076) ~[main/:na]
>         at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:1034) ~[main/:na]
>         at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:58)
~[main/:na]
> 1554 - Node /127.0.0.1 state jump to normal
> ERROR [GossipStage:1] 2015-01-20 13:46:21,679 CassandraDaemon.java
> :170 - Exception in thread Thread[GossipStage:1,5,main]
> java.lang.NoClassDefFoundError: org/apache/cassandra/transport/Eve
> nt$TopologyChange$Change
>         at org.apache.cassandra.transport.Server$EventNotifier.onJ
> oinCluster(Server.java:374) ~[main/:na]
>         at org.apache.cassandra.service.StorageService.handleState
> Normal(StorageService.java:1668) ~[main/:na]
>         at org.apache.cassandra.service.StorageService.onChange(St
> orageService.java:1384) ~[main/:na]
>         at org.apache.cassandra.gms.Gossiper.doOnChangeNotificatio
> ns(Gossiper.java:1094) ~[main/:na]
>         at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossip
> er.java:1076) ~[main/:na]
>         at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gos
> siper.java:1034) ~[main/:na]
>         at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doV
> erb(GossipDigestAckVerbHandler.java:58) ~[main/:na]
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:62)
~[main/:na]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_67]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
~[na:1.7.0_67]
>         at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_67]
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.transport.Event$TopologyChange$Change
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_67]
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_67]
>         at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_67]
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_67]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_67]
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.7.0_67]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_67]
>         ... 11 common frames omitted
> WARN  [Thread-10] 2015-01-20 13:46:34,500 IncomingTcpConnection.java:91 - UnknownColumnFamilyException
reading from socket; closing
> org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find cfId=5f2fbdad-91f1-3946-bd25-d5da3a5c35ec
>         at org.apache.cassandra.db.ColumnFamilySerializer.deserializeCfId(ColumnFamilySerializer.java:164)
~[main/:na]
>         at org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:97)
~[main/:na]
>         at org.apache.cassandra.db.Mutation$MutationSerializer.deserializeOneCf(Mutation.java:322)
~[main/:na]
>         at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize(Mutation.java:302)
~[main/:na]
>         at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize(Mutation.java:330)
~[main/:na]
>         at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize(Mutation.java:272)
~[main/:na]
>         at org.apache.cassandra.net.MessageIn.read(MessageIn.java:99) ~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:168)
~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:150)
~[main/:na]
>         at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:82)
~[main/:na]
> {code}
> I have included the logs of all three nodes.



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

Mime
View raw message