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

Ted Zlatanov commented on CASSANDRA-754:
----------------------------------------

Eric: 100+101 are sufficient and applied to trunk last week.  I can rebase 
again if necessary, but they touch lots of common code so rebasing is a pain.  
70% is just moving code around unfortunately, hence the size.  Probably the 
last time I use quilt to manage patches like this.  Sorry for the inconvenience.

I couldn't find anything on the Thrift site about the HTTP+JSON server, but 
their docs in general are pretty sparse.  I see a SVN commit 2 days ago (!) 
that adds the lib/js stuff but the patch has apparently been brewing since last 
August (in THRIFT-550).  I don't see anything crazy about the implementation, 
it could be usable.

As for the Thrift problems I am aware of, besides CASSANDRA-475 which could be 
remedied with the HTTP server, Thrift also doesn't allow overloaded service 
methods, leading to the ColumnOrSuperColumn ugliness.

I'll make the changes Gary Dusbabek suggested about the configuration and 
ValidatingParser.  Even if multiple APIs are not supported, I think it's 
worthwhile to decouple the API layer from the internals, which 100+101 have 
started to do.

I'm 100% in favor of using Avro or the Thrift HTTP+JSON interface rather than 
writing my own implementation; when I created this ticket neither was 
available.  As I said, I'll take direction and implement whatever is the 
consensus.  Thank you for looking at this.


> Pluggable API with a simple HTTP+JSON daemon
> --------------------------------------------
>
>                 Key: CASSANDRA-754
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-754
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Ted Zlatanov
>            Assignee: Ted Zlatanov
>            Priority: Minor
>         Attachments: 001-CASSANDRA-754-api-reorg.patch, 
> 001-CASSANDRA-754-api-reorg.patch, 002-CASSANDRA-754-thriftdaemon.patch, 
> 002-CASSANDRA-754-thriftdaemon.patch, 003-CASSANDRA-754-configapi.patch, 
> 003-CASSANDRA-754-configapi.patch, 004-CASSANDRA-754-onedaemon.patch, 
> 005-CASSANDRA-754-avroconfig.patch, 006-CASSANDRA-754-daemonproperties.patch, 
> 006-CASSANDRA-754-daemonproperties.patch, 
> 007-CASSANDRA-754-stringproperties.patch, 
> 100-CASSANDRA-754-rebased-api-reorg.patch, 101-CASSANDRA-754-binclass.patch
>
>
> Proposal of a simple pluggable API interface with a HTTP daemon implementation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to