You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Romain Hardouin (Jira)" <ji...@apache.org> on 2019/11/09 08:58:00 UTC
[jira] [Commented] (CASSANDRA-15406) Add command to show the
progress of data streaming and index build
[ 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org