cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-535) Support remote clients via Java API
Date Fri, 27 Nov 2009 22:22:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Dusbabek updated CASSANDRA-535:
------------------------------------

    Attachment: 535-v2-reentrant-fixes-and-tests.patch
                535-v2.patch

creates SS.initClient, SS.stopClient.  Push storage directory create down into Table and ensure
that SS doesn't mess with tables in client-only mode.

ignore the testing main() in StorageService.

The second patch includes a method of testing aspects of the first (directory creation). 
This got a bit invasive as it required making some of the code more reentrant.  Regardless,
I think the changes to MessagingService are valid even if the tests aren't.  MS.shutdown()
was leaving the UDP connections open.

> Support remote clients via Java API
> -----------------------------------
>
>                 Key: CASSANDRA-535
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-535
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: T Jake Luciani
>            Assignee: Gary Dusbabek
>             Fix For: 0.9
>
>         Attachments: 535-v1.diff, 535-v2-reentrant-fixes-and-tests.patch, 535-v2.patch
>
>
> Cassandra should support Java based clients without requiring the overhead of thrift
serialization.
> To support this, a java client should be able to join the gossip pool but provide no
tokens of its own (so it accepts no writes).
> The way this can be done is add a new startup routine to StorageService called startGossip()
that would only initialize itself enough to get access to gossip.
> I don't think its quite this simple though since cassandra code assumes there is at least
one local token in places.
> Also,  all StorageProxy methods used for thrift service should be made public StorageProxy.getKeyRange()
is not public.

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


Mime
View raw message