Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Sam Overton
You can configure cassandra to use an ephemeral port for the storage endpoint by setting the following in cassandra.yaml: storage_port: 0 or by setting the system property cassandra.storage_port=0 Similarly for the RPC (thrift) endpoint, using rpc_port in cassandra.yaml or the system property cas

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Mark Mccraw
Oleg: The simple answer for why I'm using Cassandra thusly is laziness/fear of uncertainty. I'm using Cassandra indirectly as the back end data store for Titan(http://thinkaurelius.github.io/titan/), which is a graph interface. Titan does let you swap out the data store, and it gives you seve

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Edward Capriolo
While not exactly optimized for embedded systems there is no reason it could not be done. Today's super computer is tomorrows embedded watch processor. On Tue, May 28, 2013 at 9:11 AM, Oleg Dulin wrote: > Mark: > > This begs a question -- why are you using Cassandra for this ? There are > simpl

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Oleg Dulin
Mark: This begs a question -- why are you using Cassandra for this ? There are simpler noSQL stores than Cassandra that are better for embedding. Oleg On 2013-05-28 02:24:48 +, Mark Mccraw said: Hi All, I'm using Cassandra as an embedded datastore for a small service that doesn't need

Re: Running Cassandra with no open TCP ports

2013-05-27 Thread Edward Capriolo
No. Your only option is to give each instance its own ports. On Mon, May 27, 2013 at 10:24 PM, Mark Mccraw wrote: > Hi All, > > I'm using Cassandra as an embedded datastore for a small service that > doesn't need (or want) to act as a database service in any way. Moreover, > we may want to s

Running Cassandra with no open TCP ports

2013-05-27 Thread Mark Mccraw
Hi All, I'm using Cassandra as an embedded datastore for a small service that doesn't need (or want) to act as a database service in any way. Moreover, we may want to start up multiple instances of the application, and right now whenever that happens, we get port conflicts on 7000 because Cass