Database Reference
In-Depth Information
You can also use the org.apache.cassandra.config.Converter class to assist you in con-
verting from storage-conf.xmlto a cassandra.yamlile. If you are upgrading from 0.6 to 0.7, this
should be your first step. To run the converter, use the conig-converterscript in the bindirectory.
It will read in the old file, convert it, and dump the contents.
NOTE
If you need to import and export data, Cassandra comes with two scripts for working with JSON: one
that imports JSON into Cassandra SSTables, and another that exports existing SSTables into JSON.
Summary
In this chapter we looked at how to configure Cassandra, including using the new dynamic con-
figuration ability in the API and some of the utilities that ship with the server to dig into your
raw datafiles. We saw how to set the replication factor and the snitch, and how to use a good
replica placement strategy.
If you prefer to use a graphical interface instead of the CLI, you can get information regarding
your Cassandra setup using Chiton, which is a Python GTK-based Cassandra browser written by
Brandon Williams. You can find it at http://github.com/driftx/chiton .
Search WWH ::




Custom Search