You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (JIRA)" <ji...@apache.org> on 2016/03/22 15:21:25 UTC

[jira] [Commented] (CASSANDRA-11365) Recovering failed from a single disk failure using JBOD

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

Paulo Motta commented on CASSANDRA-11365:
-----------------------------------------

[~zhaoyan] I am assuming you first tried to start the node without success, and then you tried the second procedure of wiping the system keyspace and restarting the node again with the same tokens specified on {{initial_token}}? If so, I believe the documentation is missing the step of setting {{auto_bootstrap: false}} on {{cassandra.yaml}} before restarting the node. If you still haven't solved this problem could you try that?

If this procedure does not work I think the simplest approach is to [replace the node|https://docs.datastax.com/en/cassandra/2.1/cassandra/operations/opsReplaceNode.html] altogether. 

> Recovering failed from a single disk failure using JBOD
> -------------------------------------------------------
>
>                 Key: CASSANDRA-11365
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11365
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: cassandra 2.1.11
> jdk 1.7
>            Reporter: zhaoyan
>            Assignee: Paulo Motta
>
> one cassandra node's one disk is failture. so it is down.
> i try recovering the node follow:
> https://docs.datastax.com/en/cassandra/2.1/cassandra/operations/opsRecoverUsingJBOD.html
> but i get follow error when restart the node:
> ERROR 02:58:00 Exception encountered during startup
> java.lang.RuntimeException: A node with address /192.168.xx.xx already exists, cancelling join. Use cassandra.replace_address if you want to replace this node.
>         at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:543) ~[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:788) ~[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:720) ~[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:611) ~[apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:387) [apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:562) [apache-cassandra-2.1.11.jar:2.1.11]
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:651) [apache-cassandra-2.1.11.jar:2.1.11]
> java.lang.RuntimeException: A node with address /192.168.xx.xx already exists, cancelling join. Use cassandra.replace_address if you want to replace this node.
>         at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:543)
>         at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:788)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:720)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:611)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:387)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:562)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:651)
> Exception encountered during startup: A node with address /192.168.xx.xxxx already exists, cancelling join. Use cassandra.replace_address if you want to replace this node.
> INFO  02:58:00 Announcing shutdown
> INFO  02:58:02 Waiting for messaging service to quiesce



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