cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian ONeill (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3380) REST Layer
Date Fri, 29 Jun 2012 17:46:44 GMT


Brian ONeill commented on CASSANDRA-3380:

Agreed.  I wouldn't say its been overwhelming, but we've had decent uptake: a few hundred
downloads since our last release.  Now, since we've expanded the capabilities in Virgil, its
unclear whether the users are there for the REST interface, triggers, or indexing capabilities.
 The triggers capability seems to have the most uptake.  We even have someone looking to build
out an Elastic Search bridge using the trigger mechanism.

We've ensured Virgil can run embedded w/ Cassandra or remotely (using pure Thrift to support
both runmodes).  Thus, if we want to incorporate it into core, it should be an easy drop-in.
We could simply add a config param in the yaml that would optionally start the REST server.

We're loving it internally.  Even the QA teams have adopted it.  They hit Virgil from Cucumber
to automate testing (using REST from the ruby to make assertions about the state of the data)
 But... I'm biased. =) 

> REST Layer 
> -----------
>                 Key: CASSANDRA-3380
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>         Environment: Unix / Max OS X
>            Reporter: Brian ONeill
>         Attachments: trunk-3380.txt
> This is a native rest layer for Cassandra implementing AbstractCassandraDaemon.
> It uses JAX-RS fueled by Apache CXF.
> Presently it supports the following operations JSON over HTTP:
>  - Create keyspace
>  - Drop keyspace
>  - Create column family
>  - Drop column family
>  - Insert row
>  - Fetch row
>  - Delete row
>  - Insert column
>  - Delete column 
>  - Fetch column
> The patch creates a new project in contrib/rest.  You can compile the project using "ant",
which uses ivy to pull in dependencies.  To get setup, you can also use the pom.xml file and
m2eclipse to get it into Eclipse.
> Once compiled, simpy run "bin/rest_cassandra" and follow along in the README.txt

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message