Can we stop datastax-agent process in cassandra? - cassandra

I know datastax-agent is used to show to data in opscenter. But if we aren't using it, can we stop the datastax-agent process? Does it have any other use?
We are using Cassandra 3.7

The datastax-agent is only used for OpsCenter. Its fine to stop the process. Just be aware that you might see errors in OpsCenter for that node, if you are still using it.

OpsCenter is not compatible with open source Cassandra 3.x and there should not be a running datastax-agent service in 3.7. OpsCenter 6.0 only works with DSE Cassandra.

Related

Issue: connect rest application with Cassandra

I am using Cassandra 3.11 docker image for my application. But I am getting below. Can someone suggest a fix here
Enable Thrift server of Cassandra
The error means that JanusGraph can't connect to cassandra with thrift, So you have to enable thrift on cassandra.
Use the below command to enable thrift
nodetool enablethrift

OpsCenter for Apache Cassandra Source Code

Hi Where can I find the Source Code of Cassandra OpsCenter. I am looking for basic version source code of OpsCenter. I want to check how OpsCenter pulling stats from NodeTool commands. As per my knowledge, NodeTool commands stats can be pulled using JMX. Where can I find source code of OpsCenter source code. Please do the needful. Thanks,-Suyodha
OpsCenter is not a part of Apache Cassandra, but is included in DataStax Enterprise, which is a commercial offering and is not open source. See Using JMX Clients with Cassandra for more information.

Does DataStax OpsCenter support Cassandra 2.2.5?

I've having some issues with my Cassandra cluster and I would like to install OpsCenter Community in order to debug what's going on.
I've found this and this pages talking about the compatibility between DataStax OpsCenter and Cassandra, but this don't list Cassandra 2.2.5 (actually I'm using DataStax Cassandra - dsc 22).
My question is: can I use DataStax OpsCenter (free / community version) within Cassandra 2.2.5? If not, there's an alternative?
No, the docs you cited indicate that OpsCenter doesn't support any cassandra greater than 2.1.x and the next version of opscenter (6.x) will only support Datastax Enterprise. I don't know of another visual front-end to cassandra at this time.

Strip Datastax binary to have only Cassandra

I have downloaded latest Datastax binary - 4.5.2. It comes loaded with hive, hadoop, solr etc etc which I am not interested in. I just want to bundle Cassandra with my product. I tried removing all the folders from dse-4.5.2/resources but cassandra and tried starting cassandra by executing below command from dse-4.5.2/bin
./dse cassandra
However it failed. So looks like its not as simple as deleting folders.
Has any one ever tried this?
DSE will not use hive, hadoop, solr, etc. unless you explicitly ask it to.
I.E. in order to start DSE with search run:
dse cassandra -s
If you just start using dse cassandra it will only start the cassandra process.
I'd recommend using apache cassandra for this. Here's a puppet module that you might like: https://github.com/heartysoft/puppet-cassandra

Cassandra Opscenter repair causes Null Pointer Exception

Got a four node apache cassandra cluster (2.1) with DataStax opscenter 5.0.1 running. Everything's running smoothly...I can restart nodes from opscenter. However, if I try to run a repair on a node from the Opscenter UI, I get the following:
"Error during repair on [hostname]: java.lang.NullPointerException:"
I can ssh into the node and run nodetool repair without problems.
Any idea what the problem might be?
Opscenter 5.0 doesn’t support managing Cassandra 2.1 clusters yet, but that’ll change after 5.1 gets released.

Resources