Re: Cassandra JMX without RMI?

2023-07-18 Thread Max Campos
We use Jolokia. It runs inside of Cassandra and then gives you an HTTP REST interface to interact with JMX. Works great for us! https://jolokia.org/ - Max > On Jul 18, 2023, at 8:11 pm, Angelo Polo wrote: > > Is it possible to connect to the Cassandra JMX server witho

Re: Survey about the parsing of the tooling's output

2023-07-11 Thread Max Campos
We used to have monitoring scripts that parsed the output of nodetool (status, listsnapshots), but these tools have been replaced with using Jolokia (REST interface to JMX) — this is both more powerful and easier to parse for things like monitoring scripts. We *really* would have loved to have

Re: New DC / token distribution not balanced

2023-03-16 Thread Max Campos
ion_factor" more useful than > "allocate_tokens_for_keyspace" when you are spinning up a new DC. > > On 16/03/2023 06:25, Max Campos wrote: >> Update: I figured out the problem! >> >> The “allocate_tokens_for_keyspace” value needs to be set for a keyspace t

Re: New DC / token distribution not balanced

2023-03-15 Thread Max Campos
added the nodes … voila! Problem solved! > On Mar 15, 2023, at 10:50 pm, Max Campos wrote: > > Hi All - > > I’m having a lot of trouble adding a new DC and getting a balanced ring (i.e. > every node has the same percentage of the token ring). > > My config: > &g

New DC / token distribution not balanced

2023-03-15 Thread Max Campos
Hi All - I’m having a lot of trouble adding a new DC and getting a balanced ring (i.e. every node has the same percentage of the token ring). My config: GossipingPropertyFileSnitch allocate_tokens_for_keyspace: num_tokens = 16 6 nodes in the new DC / 3 nodes in the existing DC Cassandra 3.0.2

Re: Replacing node w/o bootstrapping (streaming)?

2023-02-09 Thread Max Campos
> Be sure you rsync the commitlog directory too . Flush and drain to be extra > safe > > > >> On Feb 9, 2023, at 6:42 PM, Max Campos wrote: >> >> Hi - >> >> We have a node whose root partition is flaking out. The disk that contains >> the Cass

Replacing node w/o bootstrapping (streaming)?

2023-02-09 Thread Max Campos
Hi - We have a node whose root partition is flaking out. The disk that contains the Cassandra data, however, is healthy. We’d like to replace the dying node with a procedure like this: 0) OLD node is running, NEW node has never started Cassandra 1) rsync Cassandra data from OLD node to NEW (1

Re: The "Cassandra Corner" podcast

2022-06-01 Thread Max Campos
Hi Aaron, Do you have the RSS feed URL handy? I looked at the source of the page, and it shows this: https://anchor.fm/s/99c5e268/podcast/rss https://anchor.fm/s/99c5e268/podcast/rss>" /> … which leads to a 404. Thanks. - Max > On Jun 1, 2022, at 6:55 am, Aaron Ploetz wrote: >

Re: Lots of simultaneous connections?

2017-12-14 Thread Max Campos
> to the latest 3.0 (don't forget to read news.txt) > On 14 Dec. 2017 19:18, "Max Campos" <mailto:mc_cassan...@core43.com>> wrote: > Hi - > > We’re finally putting our new application under load, and we’re starting to > get this error message from

Lots of simultaneous connections?

2017-12-14 Thread Max Campos
Hi - We’re finally putting our new application under load, and we’re starting to get this error message from the Python driver when under heavy load: ('Unable to connect to any servers', {‘x.y.z.205': OperationTimedOut('errors=None, last_host=None',), ‘x.y.z.204': OperationTimedOut('errors=Non

Re: Error of "You have to be logged in and not anonymous to perform this request"

2017-03-19 Thread Max Campos
These commands don’t really mean anything unless you’re using authentication. If you want to enable roles / authentication / etc, then follow the instructions in the manual: http://cassandra.apache.org/doc/latest/operating/security.html#authentication

Re: Does "nodetool repair" need to be run on each node for a given table?

2017-03-14 Thread Max Campos
For anyone with questions about how repair works, why repair, partial range repair, incremental vs. non-incremental repair, best practices for repair, etc. I highly recommend this talk from Alexander Dejanovski, The Last Pickle at Cassandra Summit 2016: https://www.youtube.com/watch?v=1Sz_K8UI