aboudreault / cassandra-vnode-plot

Visualize and inspect Apache Cassandra token ownership

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cassandra-vnode-plot

Visualize and inspect Apache Cassandra token ownership by host

➜ nodetool ring|python plot.py
 ===============================================
Ownership for DC: DC1
total ownership:  100.0

per host ownership percentage:
address		ownership percentage
10.1.1.84  	3.79196223696
10.1.1.118 	4.12424999772
10.1.1.120 	4.3092789485
10.1.1.91  	4.54820312558
10.1.1.150 	4.89481405435
10.1.1.88  	4.90527912561
10.1.1.147 	5.03512519335
10.1.1.140 	5.20763935551
10.1.1.151 	5.43746386405
10.1.1.142 	5.7036160874
10.1.1.90  	5.8619899708
10.1.1.148 	6.00738459222
10.1.1.114 	6.13725691643
10.1.1.117 	6.28499542752
10.1.1.121 	6.42956899349
10.1.1.112 	6.7632781898
10.1.1.81  	6.9481665685
10.1.1.87  	7.60972735221

host ownership histogram:
# NumSamples = 18; Min = 3.79; Max = 7.61
# Mean = 5.555556; Variance = 1.031336; SD = 1.015547; Median 5.570540
# each ∎ represents a count of 1
    3.7920 -     4.1737 [     2]: ∎∎
    4.1737 -     4.5555 [     2]: ∎∎
    4.5555 -     4.9373 [     2]: ∎∎
    4.9373 -     5.3191 [     2]: ∎∎
    5.3191 -     5.7008 [     1]: ∎
    5.7008 -     6.0826 [     3]: ∎∎∎
    6.0826 -     6.4644 [     3]: ∎∎∎
    6.4644 -     6.8462 [     1]: ∎
    6.8462 -     7.2280 [     1]: ∎
    7.2280 -     7.6097 [     0]:

About

Visualize and inspect Apache Cassandra token ownership

License:Apache License 2.0


Languages

Language:Python 100.0%