Re: When Apache Cassandra 4.0 will release?

2019-07-26 Thread Simon Fontana Oscarsson
for 4.0 here: https://github.com/Ericsson/ecaudit/blob/release/c3.0.11/doc/ cassandra_compatibility.md#apache-cassandra-40  -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars...@ericsson.com www.ericsson.com On fre, 2019-07-26 at 16:01

Re: Cassandra.Link Knowledge Base - v. 0.4

2019-07-23 Thread Simon Fontana Oscarsson
Great work Rahul and others! It's much appriciated.   -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars...@ericsson.com www.ericsson.com On lör, 2019-07-20 at 07:43 -0400, Rahul Singh wrote: > Hey Cassandra community , > &g

Re: How to gracefully decommission a highly loaded node?

2018-12-04 Thread Simon Fontana Oscarsson
and disablehandoff to stop serving client requests.  -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars...@ericsson.com www.ericsson.com On tis, 2018-12-04 at 14:21 +0330, onmstester onmstester wrote: > One node suddenly uses 100% CPU

Re: System auth empty, how to populate it

2018-07-17 Thread Simon Fontana Oscarsson
of ideas :( -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars...@ericsson.com www.ericsson.com On tis, 2018-07-17 at 16:18 +0200, Thomas Lété wrote: > Yes I did that multiple time, always following the same procedure : s

Re: System auth empty, how to populate it

2018-07-17 Thread Simon Fontana Oscarsson
This is very strange behavior if Cassandra won't recreate the cassandra user when you delete the folder. So just to make sure, you are stopping Cassandra on all nodes and deleting the data directory? -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden

Re: System auth empty, how to populate it

2018-07-17 Thread Simon Fontana Oscarsson
Could you try the following steps? Stop Cassandra. Change authenticator in yaml to PasswordAuthenticator if not already done. Remove data directory with `rm -rf data/system_auth/roles-*` Start Cassandra. Login with `cqlsh -u cassandra -p cassandra` Works for me. -- SIMON FONTANA OSCARSSON

Re: Cassandra recommended server uptime?

2018-07-17 Thread Simon Fontana Oscarsson
Not anything that I'm aware of. Cassandra can run at months/years without rebooting. It is better to monitor your nodes and if you find anything abnormal a restart can help. -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars

Re: Write Time of a Row in Multi DC Cassandra Cluster

2018-07-11 Thread Simon Fontana Oscarsson
it's up to you to decide if that's acceptable or not. You could follow up with a LOCAL_QUORUM request if the EACH_QUORUM fails and rely on hints and repair to get consistency eventually. -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden

Re: Write Time of a Row in Multi DC Cassandra Cluster

2018-07-10 Thread Simon Fontana Oscarsson
Have you tried trace? -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars...@ericsson.com www.ericsson.com On mån, 2018-07-09 at 19:30 +, Saladi Naidu wrote: > Cassandra is an eventual consistent DB, how to find when a

Re: Check Cluster Health

2018-07-06 Thread Simon Fontana Oscarsson
simple logging with Logback or log4j. You can get some help by googling. * Use a monitoring system such as Prometheus. This is the best solution but most time consuming. -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars

Re: nodetool status

2018-07-04 Thread Simon Fontana Oscarsson
Look here: https://cassandra.apache.org/doc/latest/development/ide.html -- SIMON FONTANA OSCARSSON Software Developer Ericsson Ölandsgatan 1 37133 Karlskrona, Sweden simon.fontana.oscars...@ericsson.com www.ericsson.com On ons, 2018-07-04 at 10:10 +0100, Thouraya TH wrote: > Thank you so m

Re: JMX metrics for CL

2018-02-28 Thread Simon Fontana Oscarsson
It's not a change in the source code though since it's a plugin. You simply do the following: * Implement the QueryHandler interface with new metrics. * Add the compiled jar to the CLASSPATH in cassandra.in.sh * In cassandra-env.sh, set -Dcassandra.custom_query_handler_class to your

Re: Best approach to prepare to shutdown a cassandra node

2017-10-20 Thread Simon Fontana Oscarsson
Yes, drain will always be run when Cassandra exits normally. On 2017-10-20 00:57, Varun Gupta wrote: Does, nodetool stopdaemon, implicitly drain too? or we should invoke drain and then stopdaemon? On Mon, Oct 16, 2017 at 4:54 AM, Simon Fontana Oscarsson <simon.fontana.oscars...@ericsson.

Re: Best approach to prepare to shutdown a cassandra node

2017-10-16 Thread Simon Fontana Oscarsson
Looking at the code in trunk, the stopdemon command invokes the CassandraDaemon.stop() function which does a graceful shutdown by stopping jmxServer and drains the node by the shutdown hook. /Simon On 2017-10-13 20:42, Javier Canillas wrote: As far as I know, the nodetool stopdaemon is doing