Re: Cassandra Hackathon?

2011-05-17 Thread Joseph Stein
awesome! this week I am (finally) getting cassandra (0.8) going for existing projects we have in production. Looking at https://issues.apache.org/jira/browse/CASSANDRA-2495 is a place I was thinking maybe I could start to help out but I am not sure that is the best starting point though it is a

Re: Using composite column names in the CLI

2011-05-17 Thread David Boxenhorn
This is what I'm talking about https://issues.apache.org/jira/browse/CASSANDRA-2231 The on-disk format is (short)lengthconstituentend byte = 0(short)lengthconstituentend byte = 0... I would like to be able to input these kinds of keys into the CLI, something like set

Re: Using composite column names in the CLI

2011-05-17 Thread Sylvain Lebresne
Provided you're working on a branch that has CASSANDRA-2231 applied (that's either the cassandra-0.8.1 branch or trunk), this work 'out of the box': The setup will look like: [default@unknown] create keyspace test; [default@unknown] use test; [default@test] create column family testCF with

Re: Using composite column names in the CLI

2011-05-17 Thread David Boxenhorn
Excellent! (I presume there is some way of representing :, like \:?) On Tue, May 17, 2011 at 11:44 AM, Sylvain Lebresne sylv...@datastax.comwrote: Provided you're working on a branch that has CASSANDRA-2231 applied (that's either the cassandra-0.8.1 branch or trunk), this work 'out of the

Dynamic Snitch Problem

2011-05-17 Thread Daniel Doubleday
Hi all after upgrading to 0.7 we have a small problem with dynamic snitch: we have rf=3, quorum read/write and read repair prop set to 0. Thus cassandra always shortcuts reads to only 2 hosts. Problem is that one of our nodes get ignored unless using a little patch and initialize the scores.

Re: Using composite column names in the CLI

2011-05-17 Thread Sylvain Lebresne
(I presume there is some way of representing :, like \:?) Well no, not yet, but we'll try to figure something I guess (we'll have the problem with CASSANDRA-2474 I think so we'll probably use the same solution). But let's keep in mind this is unreleased code at this point. And let me also add

RE: AssertionError

2011-05-17 Thread Desimpel, Ignace
I use a custom comparator class. So I think there is a high chance that I do something wrong there. I was thinking that the stack trace could give a clue and help me on the way, maybe because some already got the same error. Anyway, here is some more information you requested. Yaml

Re: Counter Column family Cassandra 0.8 PHP Support ?

2011-05-17 Thread aaron morton
I'm not a php type person, but I can help a little with thrift. Install thrift 0.6 and then run this in the interface/ directory of the cassandra source... thrift --gen php cassandra.thrift You should end up with the interface/gen-php/ Hope that helps. - Aaron Morton

Re: AssertionError

2011-05-17 Thread Sylvain Lebresne
First thing to do would be to update to 0.7.5. The assertionError you're running into is a assertion where we check if a skipBytes did skip all the bytes we had ask him to. As it turns out, the spec for skipBytes authorize it to not skip all the bytes asked even with no good reason. I'm pretty

RE: AssertionError

2011-05-17 Thread Desimpel, Ignace
Ok, I will do that (next test will be done on some linux boxes being installed now, but at this time I need to gone with the current windows setup). Question : Can I use the 0.7.4 data files as is? Do I need to backup the datafiles in order to be able to get back to the 0.7.4 version if needed?

Re: AssertionError

2011-05-17 Thread Sylvain Lebresne
On Tue, May 17, 2011 at 1:46 PM, Desimpel, Ignace ignace.desim...@nuance.com wrote: Ok, I will do that (next test will be done on some linux boxes being installed now, but at this time I need to gone with the current windows setup). Question : Can I use the 0.7.4 data files as is? Do I need

RE: AssertionError

2011-05-17 Thread Desimpel, Ignace
Seems like the AbstractType class has changed going from 0.7.4 to 0.7.5. It is now required to implement a compose and decompose method. Already did that, and it starts up with the 0.7.5 code using the 0.7.4 data and configuration (using a smaller extra test database) Below I made a sample

Re: Dynamic Snitch Problem

2011-05-17 Thread Jonathan Ellis
I guess otherwise it NPEs? Looks like a bug, can you open a ticket? On Tue, May 17, 2011 at 4:19 AM, Daniel Doubleday daniel.double...@gmx.net wrote: Hi all after upgrading to 0.7 we have a small problem with dynamic snitch: we have rf=3, quorum read/write and read repair prop set to 0.

Re: Cassandra Hackathon?

2011-05-17 Thread Nathan Milford
I'll tag along too. Outbrain would be up for sponsoring beer or snacks if needed. Nathan Milford http://blog.milford.io On Tue, May 17, 2011 at 2:29 AM, Joseph Stein crypt...@gmail.com wrote: awesome! this week I am (finally) getting cassandra (0.8) going for existing projects we have in

Re: Inconsistent results using secondary indexes between two DC

2011-05-17 Thread Jonathan Ellis
Nothing comes to mind. I'd start by using sstable2json to see if the missing rows are in the main data CF -- i.e., are they just unindexed, or are they missing completely? On Sun, May 15, 2011 at 4:33 PM, Wojciech Pietrzok kosci...@gmail.com wrote: Hello, I've noticed strange behaviour of

Re: Commitlog Disk Full

2011-05-17 Thread mcasandra
Do you see anything in log files? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Commitlog-Disk-Full-tp6356797p6374234.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Question regarding Compaction

2011-05-17 Thread Ali Ahsan
Hi All, I was diagnosing high CPU usage on my Cassandra 0.6.3.Then i came across Cassandra wiki link which suggested following. To lower compaction priority (thus reducing its impact on the rest of the system, and making it take longer), add these options to cassandra.in.sh in 0.6.3

Re: Commitlog Disk Full

2011-05-17 Thread Sanjeev Kulkarni
Here is the snapshot of the logs from one of the machine between the time when I mailed to when it finally started to look at the commitlogs. At the end you can see that it is discarding obsolete commitlogs. Not sure what that means. INFO [HintedHandoff:1] 2011-05-17 01:17:10,510

Re: Question regarding Compaction

2011-05-17 Thread Jonathan Ellis
You've had people on this list tell you you should upgrade off such an old release at least twice already this month. The reason we do this is, the odds are good that the answer is someone else ran into that problem a year ago and it got fixed. Personally, I don't think it's worth the time to

Re: Question regarding Compaction

2011-05-17 Thread Ali Ahsan
On 05/17/2011 11:57 PM, Jonathan Ellis wrote: You've had people on this list tell you you should upgrade off such an old release at least twice already this month. The reason we do this is, the odds are good that the answer is someone else ran into that problem a year ago and it got fixed.

Re: problems using property snitch file

2011-05-17 Thread aaron morton
Looking at the code the exception below can happen if the ip address cannot be found in the topology and there is no default set. To test this theory set the logging the DEBUG and look for a log message from the PropertyFileSnitch that says Could not find end point information for {}, will use

Re: Questions about using MD5 encryption with SimpleAuthenticator

2011-05-17 Thread aaron morton
Use the plain text password via the cli, the server will make a hash and compare it to the one in the file. wrt SHA-2 I'm not a security guy but MD5 is probably good enough for the problem of storing passwords in plain text in a file. Hope that helps. - Aaron Morton

Re: Questions about using MD5 encryption with SimpleAuthenticator

2011-05-17 Thread Jonathan Ellis
http://codahale.com/how-to-safely-store-a-password/ On Tue, May 17, 2011 at 3:03 PM, aaron morton aa...@thelastpickle.com wrote: Use the plain text password via the cli, the server will make a hash and compare it to the one in the file. wrt SHA-2 I'm not a security guy but MD5 is probably good

Re: Commitlog Disk Full

2011-05-17 Thread mcasandra
Those messages are ok to ignore. It's basically deleting the files that are already flused as SSTables. Which version are you running? Have you tried restarting the node? Pick one node and send ls -ltr output also the complete log files since your last restart from the same node. I looked at

Re: Questions about using MD5 encryption with SimpleAuthenticator

2011-05-17 Thread Sameer Farooqui
Hey Aaron, Unfortunately it fails with plaintext password also: ubuntu@domU-12-31-39-0C-D9-13:~/apache-cassandra-0.8.0-beta1$ bin/cassandra-cli -h ec2-50-19-26-189.compute-1.amazonaws.com -p 9160 -u jdoe -pw 'nosql' -k MDR Login failure. Did you specify 'keyspace', 'username' and 'password'?

[RELEASE] Apache Cassandra 0.8.0 rc1

2011-05-17 Thread Eric Evans
I am pleased to announce the release of Apache Cassandra 0.8.0 rc1. The final release is upon us so if you're planning to give us a hand with testing, now is the time! As always, be sure to have a look at the changelog[1] and release notes[2]. Report any problems you find[3], and if you have

Re: [RELEASE] Apache Cassandra 0.8.0 rc1

2011-05-17 Thread Stephen Connolly
Eric, You forgot to release the staging repository on repository.apache.org so that the artifacts get pushed to Maven Central. -Stephen On 17 May 2011 23:15, Eric Evans eev...@rackspace.com wrote: I am pleased to announce the release of Apache Cassandra 0.8.0 rc1. The final release is upon

Cassandra Vs. Oracle Coherence

2011-05-17 Thread Karamel, Raghu
Hi, I am new to Cassandra and very excited with the technology. I am evaluating it and trying to understand the difference between Cassandra and Oracle Coherence. Precisely , looking for reasons why would some select Cassandra over Oracle Coherence. Does anyone did the exercise of comparing

Re: Questions about using MD5 encryption with SimpleAuthenticator

2011-05-17 Thread Sameer Farooqui
Opps, my bad... please ignore the email below. It actually works with the plain text password (I had forgotten to update the passwd.properties file on one node which was causing the login to fail). Example of successful login: ubuntu@domU-12-31-39-0C-D9-13:~/apache-cassandra-0.8.0-beta1$

Re: How to configure internode encryption in 0.8.0?

2011-05-17 Thread Sameer Farooqui
Thanks for the link, Jeremy. I generated the keystore and truststore for inter-node communication using the link in the YAML file: http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore

Re: Questions about using MD5 encryption with SimpleAuthenticator

2011-05-17 Thread aaron morton
If you need it create a ticket on https://issues.apache.org/jira/browse/CASSANDRA Aaron - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 18 May 2011, at 10:52, Sameer Farooqui wrote: Opps, my bad... please ignore the email below. It

Gossiper question

2011-05-17 Thread Cassa L
Hi, I have 9 node cluster with RF-3 and using Cassandra0.70/Hector26. Recently we are seeing lot of UnavailableException at the client side. Whenever this happens, I found following pattern in Cassandra node's log file at that given time, * INFO [ScheduledTasks:1] 2011-05-13 02:59:55,365

Re: Gossiper question

2011-05-17 Thread Ali Ahsan
On 05/18/2011 09:28 AM, Cassa L wrote: Hi, I have 9 node cluster with RF-3 and using Cassandra0.70/Hector26. Recently we are seeing lot of UnavailableException at the client side. Whenever this happens, I found following pattern in Cassandra node's log file at that given time, * INFO