cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8504) Stack trace is erroneously logged twice
Date Tue, 03 Mar 2015 04:13:05 GMT

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

Stefania commented on CASSANDRA-8504:
-------------------------------------

I cannot reproduce on 3.0, also by code inspection the exception should go only once to log
file and once to stdout. 

This was fixed by this 2.1 merge I believe:

{code}
commit dd959f0f5dd6be7006c79b3f6ed2e9dbd98a720c
Merge: 6068dae 3e5edb8
Author: Ariel Weisberg <ariel.weisberg@datastax.com>
Date:   Tue Jan 27 13:34:39 2015 +0100

    Merge branch 'cassandra-2.1' into trunk
{code}

[~philipthompson] can you confirm?

> Stack trace is erroneously logged twice
> ---------------------------------------
>
>                 Key: CASSANDRA-8504
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8504
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: OSX and Ubuntu
>            Reporter: Philip Thompson
>            Assignee: Stefania
>            Priority: Minor
>             Fix For: 3.0
>
>         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)

Mime
View raw message