[ 
https://issues.apache.org/jira/browse/CASSANDRA-15406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970753#comment-16970753
 ] 

Romain Hardouin commented on CASSANDRA-15406:
---------------------------------------------

Hi [~maxwellguo] , you can see in which mode a node is with the first line of 
{{nodetool netstats output}}. e.g. "Mode: NORMAL" 

Mode can be: [STARTING, NORMAL, JOINING, LEAVING, DECOMMISSIONED, MOVING, 
DRAINING, 
DRAINED|https://github.com/apache/cassandra/blob/e4287d04feaa168802168352412d5d74fc7faae4/src/java/org/apache/cassandra/service/StorageService.java#L219]

When a node is bootstrapping (JOINING)  you can have an idea of the progress 
with:
{code:java}
 nodetool netstats -H | grep -v 100%{code}
I don't say that's perfect, a more user friendly command like {{nodetool 
progress}} (or a {{netstats}} option) with a global percentage could be a good 
idea.

> Add command to show the progress of data streaming and index build 
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-15406
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15406
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Streaming, Legacy/Streaming and Messaging, 
> Tool/nodetool
>            Reporter: maxwellguo
>            Priority: Normal
>
> I found that we should supply a command to show the progress of streaming 
> when we do the operation of bootstrap/move/decommission/removenode. For when 
> do data streaming , noboday knows which steps there program are in , so I 
> think a command to show the joing/leaving node's is needed .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to