[
https://issues.apache.org/jira/browse/CASSANDRA-8504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefania updated CASSANDRA-8504:
--------------------------------
Component/s: Testing
> Stack trace is erroneously logged twice
> ---------------------------------------
>
> Key: CASSANDRA-8504
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8504
> Project: Cassandra
> Issue Type: Bug
> Components: Testing
> Environment: OSX and Ubuntu
> Reporter: Philip Thompson
> Assignee: Stefania
> Priority: Minor
> Fix For: 2.2.0 beta 1
>
> Attachments: node4.log
>
>
> The dtest
> {{replace_address_test.TestReplaceAddress.replace_active_node_test}} is
> failing on 3.0. The following can be seen in the log:{code}ERROR [main]
> 2014-12-17 15:12:33,871 CassandraDaemon.java:496 - Exception encountered
> during startup
> java.lang.UnsupportedOperationException: Cannot replace a live node...
> at
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:773)
> ~[main/:na]
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:593)
> ~[main/:na]
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:483)
> ~[main/:na]
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:356)
> [main/:na]
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:479)
> [main/:na]
> at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:571)
> [main/:na]
> ERROR [main] 2014-12-17 15:12:33,872 CassandraDaemon.java:584 - Exception
> encountered during startup
> java.lang.UnsupportedOperationException: Cannot replace a live node...
> at
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:773)
> ~[main/:na]
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:593)
> ~[main/:na]
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:483)
> ~[main/:na]
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:356)
> [main/:na]
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:479)
> [main/:na]
> at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:571)
> [main/:na]
> INFO [StorageServiceShutdownHook] 2014-12-17 15:12:33,873 Gossiper.java:1349
> - Announcing shutdown
> INFO [StorageServiceShutdownHook] 2014-12-17 15:12:35,876
> MessagingService.java:708 - Waiting for messaging service to quiesce{code}
> The test starts up a three node cluster, loads some data, then attempts to
> start a fourth node with replace_address against the IP of a live node. This
> is expected to fail, with one ERROR message in the log. In 3.0, we are seeing
> two messages. 2.1-HEAD is working as expected. Attached is the full log of
> the fourth node.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)