This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #CCM makes some assumptions about versions, this is a quick and dirty workaround to play with Cassandra 4 Beta | |
| wget http://archive.apache.org/dist/cassandra/4.0-beta1/apache-cassandra-4.0-beta1-bin.tar.gz | |
| tar -xvzf apache-cassandra-4.0-beta1-bin.tar.gz | |
| mv apache-cassandra-4.0-beta1 .ccm/repository/4.0.1 | |
| echo "4.0.1" > 4.0.1/0.version.txt | |
| ccm create beta1-testing -v binary:4.0.1 -n 3 -s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Extract mean, median and percentiles from `nodetool cfhistogram` output. | |
| Usage: | |
| 1. Run this script. | |
| 2. Paste in the output from a read or write latency histograms. | |
| 3. Press CTRL+D (to close stdin file descriptor). | |
| """ | |
| import sys | |
| import collections |