How do i check cassandra and solr is up?

只谈情不闲聊 提交于 2020-07-22 17:56:51

问题


I just installed datastax 2.2.2 on my ubuntu:12.04 machine from tarball I started services using bin/dse cassandra -s. I din't set any env variables.But it starts the service.

bin/dse/bin/nodetool status

It lists out list of valid commands where status is not there. How do i verify my cassandra and solr is up?

AM i missing something? ANy ideas?


回答1:


nodetool status should work. DSE 4.6 is the latest version, why are you on 2.2?

Watch your system and output logs as the node starts up to see gossip hints etc. It will end with something like:

done waiting for other nodes

You can also check if the service is running --

ps -ef | grep dse



回答2:


nodetool status

Run this command in terminal and you will get all information related IP Address, Load, Tokens, Owns, Host, ID, and Rack




回答3:


    bin/nodetool ring -h localhost

It will return about the solr and cassandra status.



来源:https://stackoverflow.com/questions/28669204/how-do-i-check-cassandra-and-solr-is-up

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