Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 19255 invoked from network); 25 Nov 2009 20:15:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 20:15:03 -0000 Received: (qmail 91219 invoked by uid 500); 25 Nov 2009 20:15:03 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 91183 invoked by uid 500); 25 Nov 2009 20:15:03 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 91172 invoked by uid 99); 25 Nov 2009 20:15:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 20:15:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 20:15:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 923DE234C04C for ; Wed, 25 Nov 2009 12:14:39 -0800 (PST) Message-ID: <1237937106.1259180079584.JavaMail.jira@brutus> Date: Wed, 25 Nov 2009 20:14:39 +0000 (UTC) From: "Gary Dusbabek (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-535) Support remote clients via Java API In-Reply-To: <1324827995.1257715292474.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Dusbabek updated CASSANDRA-535: ------------------------------------ Attachment: 535-v1.diff Here's a first stab. I tested using both random and ordered partitioning. commit log and data directories still get created, although nothing ever gets put there. > 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 > > > 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.