Re: Would it be possible to do a ColumnCache?

2010-10-20 Thread Jonathan Ellis
I don't think it's possible. Cassandra's data model means you can't know what columns are present in a row, so if you query, say, name and birthdate from your users column family and only the name column is in the cache for the row you are querying, does that mean that birthdate doesn't exist in t

Re: /var/tmp in FailureDetector

2010-10-20 Thread Jonathan Ellis
Done in r1025822 On Wed, Oct 20, 2010 at 12:54 PM, Gary Dusbabek wrote: > You're right!  It looks like dead code that should be removed. > > Gary. > > On Wed, Oct 20, 2010 at 12:50, aaron morton wrote: >> I should have mentioned the FailureDetectorMBean only has the parameterless >> dumpInterAr

Question about ColumnFamily Id's

2010-10-20 Thread Aaron Morton
I was helping a guy who in the end had a mixed beta1 and beta2 cluster http://www.mail-archive.com/u...@cassandra.apache.org/msg06661.htmlI had a look around the code and have a couple of questions, just for my understanding. When ReadResponseSerialize is called to deserialize the response from a n

Re: /var/tmp in FailureDetector

2010-10-20 Thread Gary Dusbabek
You're right! It looks like dead code that should be removed. Gary. On Wed, Oct 20, 2010 at 12:50, aaron morton wrote: > I should have mentioned the FailureDetectorMBean only has the parameterless > dumpInterArrivalTimes(). > > The overload that takes InetAddress is not available through JMX.

Re: /var/tmp in FailureDetector

2010-10-20 Thread aaron morton
I should have mentioned the FailureDetectorMBean only has the parameterless dumpInterArrivalTimes(). The overload that takes InetAddress is not available through JMX. A On 21 Oct 2010, at 01:55, Gary Dusbabek wrote: > Yes, we should generate it in the right temp directory. That method > is a

Re: /var/tmp in FailureDetector

2010-10-20 Thread Gary Dusbabek
Yes, we should generate it in the right temp directory. That method is an implementation of an interface method (FailureDetectorMBean), meant to be invoked by JMX, which is why no other code calls it. Gary. On Wed, Oct 20, 2010 at 03:48, aaron morton wrote: > I was reading through some code and

Would it be possible to do a ColumnCache?

2010-10-20 Thread Héctor Izquierdo Seliva
Hi. Before wasting time in something that might not be feasible at the moment, I wanted to ask the devs if a column cache would be possible (instead of a whole row cache). This would allow users with fat rows to also use a cache and reduce latency for hot data. If this is possible, i'd appreciate

/var/tmp in FailureDetector

2010-10-20 Thread aaron morton
I was reading through some code and noticed the following in FailureDetector.dumpInterArrivealTimes() FileOutputStream fos = new FileOutputStream("/var/tmp/output-" + System.currentTimeMillis() + ".dat", true); If this is meant to be cross platform I'm happy to create a bug and chan