You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2015/05/01 00:33:06 UTC
[jira] [Commented] (CASSANDRA-9267) Bootstrapping node, nodetool
netstats shows all files 100% received immediately
[ https://issues.apache.org/jira/browse/CASSANDRA-9267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522398#comment-14522398 ]
Brandon Williams commented on CASSANDRA-9267:
---------------------------------------------
First I'd see if this reproduces on 2.0.14 so you aren't wasting your time. Then I'd look at the appropriate calls in the nodetool source itself (all the Node* files in o.a.c.tools) and then StreamManager.java since it's just passing the raw info to nodetool.
> Bootstrapping node, nodetool netstats shows all files 100% received immediately
> -------------------------------------------------------------------------------
>
> Key: CASSANDRA-9267
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9267
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Environment: Centos
> Reporter: Derek Troy-West
> Priority: Minor
> Labels: bootstrap, nodetool, streaming
> Fix For: 2.0.x
>
>
> Using Cassandra v.2.0.10.
> Following the progress of a new node bootstrapping with 'nodetool netstats' I notice that each file is shown as 100% received immediately.
> i.e.
> {code}
> $ nodetool netstats -h 172.16.11.17
> Mode: JOINING
> Bootstrap 9ec3ab30-eef1-11e4-a7f2-51821d8b858c
> /172.16.11.16
> /172.16.11.12
> Receiving 103 files, 110808118132 bytes total
> /data/cassandra/01/mail/archive/mail-archive-tmp-jb-49-Data.db 5388827962/5388827962 bytes(100%) received from /172.16.11.12
> /data/cassandra/02/mail/msg_summary_subject_idx/mail-msg_summary_subject_idx-tmp-jb-11-Data.db 88344414/88344414 bytes(100%) received from /172.16.11.12
> /data/cassandra/02/OpsCenter/pdps/OpsCenter-pdps-tmp-jb-8-Data.db 323/323 bytes(100%) received from /172.16.11.12
> /data/cassandra/02/mail/archive/mail-archive-tmp-jb-63-Data.db 10470429245/10470429245 bytes(100%) received from /172.16.11.12
> /data/cassandra/03/mail/mail_log/mail-mail_log-tmp-jb-17-Data.db 2846783513/2846783513 bytes(100%) received from /172.16.11.12
> {code}
> The node is bootstrapping 200GB in total, and quite quickly/painlessly as far as I can tell, but each file is shown as 100% transferred already.
> Since this is fairly minor I'm happy to hunt it down and patch it myself if desirable. Any pointers where to start appreciated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)