incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <ran...@gmail.com>
Subject Re: Programmable configuration in embedded cassandra
Date Mon, 17 May 2010 17:34:26 GMT
You are correct. See
http://svn.apache.org/repos/asf/cassandra/trunk/src/java/org/apache/cassandra/service/EmbeddedCassandraService.javaand
http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/

afaik currently only a configuration file is supported, although with the
next release the actual schema can be controlled programatically.

On Mon, May 17, 2010 at 7:01 PM, Yan Virin <jan.virin@gmail.com> wrote:

> Hello,
>
> I understand that currently one must have the configuration file in place
> in
> order to start a cassandra node(even if it is embedded in the application,
> i.e. using only StorageProxy without CassandraServer).
> Is that correct?
> It would be practical and very easy to implement a "programmable"
> configuration object(like making it possible to create an instance of
> DataBaseDescriptor instance not from a file) in order to make it possible
> to
> fully embed cassandra instance into custom application.
>
> Thanks
>
> --
> Jan Virin
> http://www.linkedin.com/in/yanvirin
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message