Re: are unit tests supposed to run clean?

2014-02-18 Thread Berenguer Blasi
I am working on cassandra-2.0 with an old machine at the moment and I had to increase timeouts. Check if you have tests running for more than 60 secs that will fail due to timeout and increase it in build.xml. Regards On 19/02/2014 4:14, Aleksey Yeschenko wrote: Yes, there are failing tests o

Re: are unit tests supposed to run clean?

2014-02-18 Thread Aleksey Yeschenko
Yes, there are failing tests on trunk. Not on cassandra-1.x or cassandra-2.0 branches, though. -- AY On Wednesday, February 19, 2014 at 06:12 AM, Daniel Shelepov wrote: > Hello, > > > I just ran unit tests (ant test) in a clean checkout of the Cassandra trunk > for the first time, and I se

are unit tests supposed to run clean?

2014-02-18 Thread Daniel Shelepov
Hello, I just ran unit tests (ant test) in a clean checkout of the Cassandra trunk for the first time, and I see some failures (about a dozen, mostly timeouts). Before I spend too much time investigating these, are there any known test failures or tests known to require additional setup?

Re: How to iterate IndexCfs

2014-02-18 Thread Jonathan Ellis
Where is your LongToken coming from? LongToken is used by Murmur3Partitioner; it looks to me like you need to build a LocalToken instead (for the LocalPartitioner used by indexes). On Tue, Feb 18, 2014 at 5:33 AM, Berenguer Blasi wrote: > Hi all, > > I am new to cassandra and I am trying to solv

Re: getSequentialIterator and ranges

2014-02-18 Thread Jonathan Ellis
Without looking at the code I would expect EMPTY to work for open bound on both left and right. If that doesn't work I would set a breakpoint and have a look at what "SELECT *" gets turned into. On Tue, Feb 18, 2014 at 11:45 AM, Berenguer Blasi wrote: > Hi all, > > when iterating CFs with getSeq

getSequentialIterator and ranges

2014-02-18 Thread Berenguer Blasi
Hi all, when iterating CFs with getSequentialIterator you have to specify him a range. But what do you do when you need to: A- Scan the full range? B- Scan from key X to the end? Scanning between keys X,Y is easy as you just specify them in the range. Scanning up to Y can be done with ByteBu

Re: [VOTE] Release Apache Cassandra 2.1.0-beta1

2014-02-18 Thread Gary Dusbabek
+1 On Mon, Feb 17, 2014 at 11:23 AM, Sylvain Lebresne wrote: > Cassandra 2.1 is coming along but we now need wider testing. So I propose > the > following artifacts for release as 2.1.0-beta1. Let it be clear that it is > only > a beta (and the first one at that), so we know it's not perfect, bu

How to iterate IndexCfs

2014-02-18 Thread Berenguer Blasi
Hi all, I am new to cassandra and I am trying to solve something I am stuck with. It is quite easy conceptually but I am stuck with it so maybe somebody with knowledge of the internals knows what I am doing wrong. I want to slice the CFs of a secondary index. So you can try with cfs.getRange