Open btalbot opened 12 years ago
I've just upgraded to the new phpcassa which give better support for 1.0. You can now see "Sstable Compression org.apache.cassandra.io.compress.SnappyCompressor" in column family details. Is that good enough for you ?:)
That's great and it works for me, thanks!
I noticed that change also reverted some settings in includes/conf.inc.php that were added somewhat recently, was that intentional? https://github.com/sebgiroux/Cassandra-Cluster-Admin/commit/0a11408e2b481ab85b5554d632b2b389a70daedd#diff-3
Actually, I think there is a display issue with the compression options. When compression isn't enabled the "Column Family Details" contains "Compression Options None"; however, when compression is enabled there is no entry for "Compression Options" and instead there is a row containing
Chunk Length Kb org.apache.cassandra.io.compress.SnappyCompressor
64
The Compression Options label should probably remain and show the two sub-options with their name-value pair in the value column, right?
Yeah, that might be an issue. I also noticed that the create/edit CF form should probably be dynamically generated from the CF definition. None of the compression option are available right now because the cf stuff are from 0.8. I will do that first (so I don't have to use CLI to set compression, that's the whole point of this project anyway right :P) and then I will look into your issue.
Thanks!
Cassandra 1.0 added support to compress CF using pluggable scheme. It would be nice to be able to see what compress options are enabled on a CF. If there are other compression related stats available (like compression ratio) that would be great too!