Unable to start solr aspect of DSE search

自古美人都是妖i 提交于 2019-12-10 11:37:00

问题


I am unable to start the solr aspect of DSE search and i get the following exception message when i execute, when i execute bin/dse cassandra start the cassandra service is started but not solr, does anyone have any guidance to offer me i know i have missed something:

bin/dse cassandra -s

message:

Cannot start node if snitch's data center (Solr) differs from previous data center (Cassandra). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true.
at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:629) ~[cassandra-all-2.1.12.1046.jar:2.1.12.1046]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:290) [cassandra-all-2.1.12.1046.jar:2.1.12.1046]
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:329) [dse-4.7.7.jar:4.7.7]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:564) [cassandra-all-2.1.12.1046.jar:2.1.12.1046]
at com.datastax.bdp.DseModule.main(DseModule.java:75) [dse-4.7.7.jar:4.7.7]

回答1:


Recent versions of DataStax Enterprise do not allow you to change the workload of an existing node with existing data. In order to start this node, either remove all data in the data folder (effectively, start clean) or use the -Dcassandra.ignore_dc=true flag (as it says in the error).




回答2:


Clearing the data as a service

Remove all data from a package installation.

Procedure

To clear the data from the default directories:

After stopping the service, run the following command:

$ sudo rm -rf /var/lib/cassandra/*



来源:https://stackoverflow.com/questions/35727475/unable-to-start-solr-aspect-of-dse-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!