Re: Handling Long running Cassandra Rebuild Process

2020-03-28 Thread Aakash Pandhi
A simple way to do is to measure dataset size of source DC and new DC (one you are rebuilding) every hour or so and make sure new DC dataset size is catching up. Not a very effective but helps me.  We recently rebuilt a DC and watched that way. Another idea is to poll system.log for errors relat

Re: Handling Long running Cassandra Rebuild Process

2020-03-27 Thread Jai Bheemsen Rao Dhanwada
netstats only gives the active streams, for example if the rebuild fails because of a network issue or something there is no trace of it. regarding nohup: i am trying to create an api On Friday, March 27, 2020, Erick Ramirez wrote: > If you run nodetool netstats, you would be able to see the st

Re: Handling Long running Cassandra Rebuild Process

2020-03-27 Thread Erick Ramirez
If you run nodetool netstats, you would be able to see the status of the node where it would either be "building" or "normal" if it completed. While it's building, it will also show you the active streams that are in progress. Typically, most admins nohup it or at least redirect the output to a lo

Handling Long running Cassandra Rebuild Process

2020-03-27 Thread Jai Bheemsen Rao Dhanwada
Hello, When I invoke "node tool rebuild" command, I see it is a long running process depending on the data size. I am implementing an API using the JMX mBeans, since the rebuild is a long running operation, the API is waiting for the rebuild to complete. Is there a way to make it asynchronous and