Re: How to tear down an EmbeddedCassandraService in unit tests?

2014-03-28 Thread Andre Sprenger
We are using version 1.2.4 and it is difficult to shutdown the embedded version. But you don't have to. Just check in each test setup method if embedded Cassandra is already running and start it if necessary. Than create keyspaces/tables in setup methods and drop them in teardown methods. For us th

Re: Recurring actions with 4 hour interval

2013-12-10 Thread Andre Sprenger
As far as I know there is nothing hard coded in Cassandra that kicks in every 4 hours. Turn on GC logging, maybe dump the output of jstats to a file and correlate this data with the Cassandra logs. Cassandra logs are pretty good in telling you what is going on. 2013/12/10 Joel Samuelsson > Hell

Re: help on backup muiltinode cluster

2013-12-07 Thread Andre Sprenger
If you lose RF + 1 nodes the data that is replicated to only these nodes is gone, good idea to have a recent backup than. Another situation is when you deploy a bug in the software and start writing crap data to Cassandra. Replication does not help and depending on the situation you need to restore

Re: Replacing a Node using a Replication

2013-12-05 Thread Andre Sprenger
We just migrated a Cassandra cluster on EC2 to another instance type. We replaced one server after another, this creates problems similar to what you describe. We simply stop Cassandra, copy the complete data dir to an EBS volume, terminate the server, launch another server with the same IP, copy

Re: InvalidRequestException: Start key's token sorts after end token

2013-04-18 Thread Andre Tavares
ause ... and we put .setConnectTimeout(2000) and we increased the other values from Astyanax pool and our App worked ... basically I think our initial problem was Amazon latency that was to high, so we changed our pool configuration and the things worked fine ... thank all for the help ! Andre 2013/4/17 aar

Re: InvalidRequestException: Start key's token sorts after end token

2013-04-17 Thread Andre Tavares
"RandomPartitioner", and maybe the correct could be "Murmur3Partitioner" when we use Hadoop (I am not sure too) ... if that is true I got a problem because I can't change the partitioner with Priam (I think it only works with RandomPartitioner) ... Andre 2013/4/17 Hiller, Dean >

InvalidRequestException: Start key's token sorts after end token

2013-04-17 Thread Andre Tavares
eader$WideRowIterator.maybeInit(ColumnFamilyRecordReader.java:453) I don't know what exactly this message means and how to solve the problem ... I am using Priam for manager my cluster in Cassandra over Elastic Map/Reduce on Amazon ... Any hint helps ... Thanks, Andre

Re: RuntimeException during leveled compaction

2013-02-12 Thread Andre Sprenger
Tables and removed them during a node restart. On some nodes compaction is working for the moment but there are likely more corrupt datafiles and than I would be in the same situation as before. So I still need some help to resolve this issue! Cheers Andre 2013/2/12 aaron morton > snapshot all

RuntimeException during leveled compaction

2013-02-11 Thread Andre Sprenger
e stored out of order. Any help to resolve this situation would be greatly appreciated. Thanks Andre

Re: ColumnFamilyInputFormat - error when column name is UUID

2012-10-29 Thread Andre Tavares
Marcelo, das vezes q tive este problema geralmente era porque o valor UUID sendo tratado para o cassandra não correspondia a um valor "exato" em UUID, para isso utilizava bastante o UUID.randomUUID() (para gerar um UUID valido) e UUID.fromString("081f4500-047e-401c-8c0b-a41fefd099d7") - este para

Re:

2012-09-27 Thread Andre Tavares
k for you. > > -Vivek > > > > On Thu, Sep 27, 2012 at 7:22 PM, Andre Tavares wrote: > >> >> Hi community, >> >> I have a question: I need to do a search on a CF that has over 200 >> million rows to find an User key. >> >> To find t

RE: Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Andre
20:38, Andre wrote: Yeah that certainly seems to be the way forward, thanks. Made adjustments but I'm still coming up short, the set strategy class method has no javadoc and I'm getting a InvalidRequestException(why:org.apache.cassandra.locator.RackUnawareStrategy ) Am I doing thi

RE: Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Andre
ansport(new TSocket(host, port)); Cassandra.Client cassandraConn = new Cassandra.Client(new TBinaryProtocol(transport)); transport.open(); It is now Framed transport ;-) Hope that helps Nico008 On 10/10/2010 18:40, Andre wrote: Hi everyone. I'm having a bit of a problem getting started

Getting Cassandra 0.7 beta2 to work - creating keyspaces

2010-10-10 Thread Andre
Hi everyone. I'm having a bit of a problem getting started with 0.7 I had 0.6.4 working and I want to start checking out 0.7, I can't figure out how to create keyspaces to even get started. Can anyone also give me a little info on secondary index's, their purpose and use The following is the