cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3380) REST Layer
Date Wed, 19 Oct 2011 20:23:11 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130955#comment-13130955
] 

Jonathan Ellis commented on CASSANDRA-3380:
-------------------------------------------

Saying "Everything is REST" is about as useful as saying "Everything is TCP." It's fine for
a driver to be REST-based but that doesn't make, say, Cassandra and Neo4j interchangeable.
 So I don't see the advantage from a development point of view.  Nor do I see "import cql"
as a deal breaker over "import urllib2" (especially since the former gives you a much better
experience.)

Javascript frameworks is a valid point, although I hope everyone agrees that the browser hitting
the db directly is a colossally bad idea.  I can see though that it would simplify the proxy
if it just has to decide "accept/reject" on a REST query vs translate REST into another API.
                
> REST Layer 
> -----------
>
>                 Key: CASSANDRA-3380
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3380
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message