cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-8504) Stack trace is erroneously logged twice
Date Wed, 17 Dec 2014 21:06:13 GMT

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

Philip Thompson edited comment on CASSANDRA-8504 at 12/17/14 9:06 PM:
----------------------------------------------------------------------

{code}04:03 PM:~/cstar/cassandra[(no branch, bisect started on trunk)*]$ git bisect good
027006dcb0931e5b93f5378494831aadc3baa809 is the first bad commit
commit 027006dcb0931e5b93f5378494831aadc3baa809
Author: Brandon Williams <brandonwilliams@apache.org>
Date:   Wed Oct 15 15:15:24 2014 -0500

    Allow CassandraDaemon to be run as a managed service

    Patch by Heiko Braun, reviewed by brandonwilliams for CASSANDRA-7997

:040000 040000 6bfd6c7a41efff412d2a0b90ebad49fd2bc62942 0a9ae3dcb67fb97eb40512b2343d2d70079ecc09
M	src{code}


was (Author: philipthompson):
04:03 PM:~/cstar/cassandra[(no branch, bisect started on trunk)*]$ git bisect good
027006dcb0931e5b93f5378494831aadc3baa809 is the first bad commit
commit 027006dcb0931e5b93f5378494831aadc3baa809
Author: Brandon Williams <brandonwilliams@apache.org>
Date:   Wed Oct 15 15:15:24 2014 -0500

    Allow CassandraDaemon to be run as a managed service

    Patch by Heiko Braun, reviewed by brandonwilliams for CASSANDRA-7997

:040000 040000 6bfd6c7a41efff412d2a0b90ebad49fd2bc62942 0a9ae3dcb67fb97eb40512b2343d2d70079ecc09
M	src

> 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: Brandon Williams
>            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