Farsandra 0.0.1 is in maven central. Added a couple features to allow
customizing cassandra.yaml and cassandra env (control memory of forked
instance), auto downloading of version specified.
http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22farsandra%22
On Wednesday, January 22, 2014, Edward Capr
Right,
This does not have to be thought of as a replacement for ccm or dtest.
The particular problems I tend to have are:
When trying to do Hive and Cassandra storage handler, Cassandra and Hive
had incompatible versions of antlr. Short of rebuilding one or both it can
not be resolved.
I have
Nice work, Ed. Personally, I do find it more productive to write
system tests in Python (dtest builds on ccm to provide a number of
utilities that cut down on the bolierplate [1]), but I can understand
that others will feel differently and more testing can only improve
Cassandra.
Thanks!
[1] htt
Looks promising, thanks for the effort! :-)
I suggest you to add this description and a simple "getting started"
section with the above example to the project README, making it easier for
other to use your project.
Cheers,
2014/1/22 Edward Capriolo
> The repo:
> https://github.com/edwardcapri
The repo:
https://github.com/edwardcapriolo/farsandra
The code:
Farsandra fs = new Farsandra();
fs.withVersion("2.0.4");
fs.withCleanInstanceOnStart(true);
fs.withInstanceName("1");
fs.withCreateConfigurationFiles(true);
fs.withHost("localhost");
fs.withSeeds(Arrays.asLi