You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Cyril Scetbon <cy...@free.fr> on 2018/08/20 03:19:27 UTC

Rebuild through JMX

Hi,

I want to trigger a rebuild operation through the JMX and of course it’s different from using nodetool as it’s not a blocking operation. I see that I can check if there are streaming sessions by checking the CurrentStreams attribute of StreamManager MBean to know when the operation is done. But the question is how can I check if the operation succeeded or failed ? Should I use another way to do it ?

Thank you
—
Cyril Scetbon


Re: Rebuild through JMX

Posted by Cyril Scetbon <cy...@free.fr>.
To follow up on that question, is there a way to know if the last long operation triggered through the JMX succeeded ? Still trying to find a way to answer the question without looking at logs.
—
Cyril Scetbon

> On Aug 19, 2018, at 11:19 PM, Cyril Scetbon <cy...@free.fr> wrote:
> 
> Hi,
> 
> I want to trigger a rebuild operation through the JMX and of course it’s different from using nodetool as it’s not a blocking operation. I see that I can check if there are streaming sessions by checking the CurrentStreams attribute of StreamManager MBean to know when the operation is done. But the question is how can I check if the operation succeeded or failed ? Should I use another way to do it ?
> 
> Thank you
> —
> Cyril Scetbon
>