cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3380) REST Layer
Date Thu, 20 Oct 2011 16:25:12 GMT


Gary Dusbabek commented on CASSANDRA-3380:

I think that if RESTful Cassandra has broad interest that it should belong in the main tree.
 One of my reasons for giving it a try and writing a blog post was to gauge the level interest.
 It turned out to be pretty low, so I didn't pursue it.

I admit: the simplicity and accessibility of a REST interface appeals to me, and I can see
it being useful for some teams.  Call me a closet REST fan.  But the same time, if this code
were to go in the tree and not get a lot of love (kind of like what we did with the experimental
Avro transport) it would be bad.

I'd like to see a REST interface start life in Apache-extras (or github or whatever).  If
it ends up being generally useful and maintained, I think it will eventually find its way
into the main tree.

The idea of using a REST interface as a way to spur adoption is somewhat orthogonal to the
idea of utility, IMO, but may be justified if that were an aim of the project.
> 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