Database Reference
In-Depth Information
Cassandra Web Console
There's a web console available from Suguru Namura, who contributed the code as a GitHub
project. The console makes it easy to interact with Cassandra to perform a variety of tasks and
view information about your cluster. I'm starting with this console before getting into the real
clients you will use to interact with the database because it gives you a very user-friendly view
into the configuration of your Cassandra instance.
You can download the console, which runs as a WAR, at http://github.com/suguru/cassandra-
webconsole . If you want to modify the source code, either fork it with Git or just grab one of the
binaries from the Downloads page of the project. The console requires Java 6 and Tomcat 6. If
you want to compile the project, you'll need Maven 2.
Let's take a brief look at its features:
Keyspaces
The console allows you to view keyspace properties and add, rename, and drop a keyspace.
You can view the configuration information about each keyspace as well, including the
column families.
Collumn f
n famiilliies
You can add or drop column families and view their keys.
Riing
You can view system information such as uptime and heap usage.
NOTE
You will likely need to modify the port on which you start Tomcat if you also have Cassandra running
on the same box, because Cassandra will use ports 8080 and 8084 for JMX.
I've started up the console on my local machine at http://localhost:9999/cassandra-web-
console . The first time you start the console, you'll be presented with a screen that lets you
enter the information required to connect to a particular Cassandra server.
Search WWH ::




Custom Search