[jira] [Commented] (CASSANDRA-8504) Stack trace is erroneously logged twice
[ https://issues.apache.org/jira/browse/CASSANDRA-8504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14345217#comment-14345217 ] Philip Thompson commented on CASSANDRA-8504: Yep, the test is now passing and that commit did fix it. Feel free to close this now. 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)
[jira] [Commented] (CASSANDRA-8504) Stack trace is erroneously logged twice
[ https://issues.apache.org/jira/browse/CASSANDRA-8504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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.weisb...@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)
[jira] [Commented] (CASSANDRA-8504) Stack trace is erroneously logged twice
[ https://issues.apache.org/jira/browse/CASSANDRA-8504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14250548#comment-14250548 ] Philip Thompson commented on CASSANDRA-8504: 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 brandonwilli...@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 :04 04 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)