Chronologic

2011-08-06 Thread Sal Fuentes
Hello Scott, I noticed you had previously posted this snippet: https://gist.github.com/832414 And I was curious to know if there were any plans to open source Chronologic in the future? If so, I think the Cassandra and Ruby communities would thank you for it. :) -- Sal

Re: How to solve this kind of schema disagreement...

2011-08-06 Thread Dikang Gu
I have tried this, but the schema still does not agree in the cluster: [default@unknown] describe cluster; Cluster Information: Snitch: org.apache.cassandra.locator.SimpleSnitch Partitioner: org.apache.cassandra.dht.RandomPartitioner Schema versions: UNREACHABLE: [192.168.1.28] 75eece10-b

strange json2sstable cast exception

2011-08-06 Thread Dan Kuebrich
Having run into a recurring compaction problem due to a corrupt sstable (perceived row size was 13 petabytes or something), I sstable2json -x 'd the key and am now trying to re-import the sstable without it. However, I'm running into the following exception: Importing 2882 keys... java.lang.Clas

How to release a customised Cassandra from Eclipse?

2011-08-06 Thread Alvin UW
Hello, I set up a Cassandra project in Eclipse following http://wiki.apache.org/cassandra/RunningCassandraInEclipse Then, I made a few modifications on it to form a customised Cassandra. But I don't know how can I release this new Cassandra from Eclipse as a jar file to use in EC2. I tried "ant r

Re: strange json2sstable cast exception

2011-08-06 Thread Jonathan Ellis
You should probably upgrade, it looks like you have a version that doesn't support sstable2json with expiring columns. On Sat, Aug 6, 2011 at 9:29 AM, Dan Kuebrich wrote: > Having run into a recurring compaction problem due to a corrupt sstable > (perceived row size was 13 petabytes or something)

Re: How to release a customised Cassandra from Eclipse?

2011-08-06 Thread Jonathan Ellis
look at bin/cassandra, you can't just run it with "java -jar" On Sat, Aug 6, 2011 at 10:43 AM, Alvin UW wrote: > Hello, > > I set up a Cassandra project in Eclipse following > http://wiki.apache.org/cassandra/RunningCassandraInEclipse > Then, I made a few modifications on it to form a customised

Re: How to release a customised Cassandra from Eclipse?

2011-08-06 Thread Alvin UW
Thanks. I am a beginner. I checked bin folder under myCassandra. There are only some classes without executable file. after "ant release", I got the jar file from build folder. 2011/8/6 Jonathan Ellis > look at bin/cassandra, you can't just run it with "java -jar" > > On Sat, Aug 6, 2011 at

Re: strange json2sstable cast exception

2011-08-06 Thread Dan Kuebrich
Forgot to mention node is: new install of 0.8.2, though data was streamed over from nodes that have been upgraded over time from 0.7. On Aug 6, 2011 10:47 AM, "Jonathan Ellis" wrote: > You should probably upgrade, it looks like you have a version that > doesn't support sstable2json with expiring c

Re: Compacting large row

2011-08-06 Thread Patrik Modesto
On Fri, Aug 5, 2011 at 15:02, Jonathan Ellis wrote: > It's logging the actual key, not the md5.  It's just converting the > key bytes to hex first to make sure it's printable. Great! I'm using MD5 as a key so I didn't notice that. Thanks, P.

Re: How to release a customised Cassandra from Eclipse?

2011-08-06 Thread aaron morton
Have a look at this file in the source repo https://github.com/apache/cassandra/blob/trunk/bin/cassandra try using "ant artefacts" and look in the build/dist dir. cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 7 Aug 2011, at 03

Re: How to solve this kind of schema disagreement...

2011-08-06 Thread aaron morton
After there restart you what was in the logs for the 1.27 machine from the Migration.java logger ? Some of the messages will start with "Applying migration" You should have shut down both of the nodes, then deleted the schema* and migration* system sstables, then restarted one of them and wat

Re: column metadata and sstable

2011-08-06 Thread aaron morton
AFAIK it just makes it easier for client API's to understand what data type to use. e.g. it can give your code a long rather than a str / byte array . Personally I'm on the fence about using it. It has some advantages to the client, but given the server does not really need the information it f

Re: Planet Cassandra (an aggregation site for Cassandra News)

2011-08-06 Thread Edward Capriolo
On Thu, Aug 4, 2011 at 5:12 AM, Boris Yen wrote: > Looking forward to it. ^^ > > On Thu, Aug 4, 2011 at 1:56 PM, Eldad Yamin wrote: > >> Great! I hope it will be open soon! >> >> >> On Wed, Aug 3, 2011 at 10:33 PM, Ed Anuff wrote: >> >>> Awesome, great news! >>> >>> >>> On Wed, Aug 3, 2011 at 1

Re: Dropped messages

2011-08-06 Thread aaron morton
Just added this to the wiki http://wiki.apache.org/cassandra/FAQ#dropped_messages Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 6 Aug 2011, at 10:53, Philippe wrote: > Hi, > I see lines like this in my log file > INFO [Schedu

Re: no stack trace :(

2011-08-06 Thread aaron morton
Do you have MX4J in the class path ? It feels like an error from there: MalformedURLException is a checked exception a it's only used in the cassandra code when reading a file; and "agent" sounds like JMX Agent. I had a quick search through mx4j source and while I could not find an exact mat

Re: How to solve this kind of schema disagreement...

2011-08-06 Thread Dikang Gu
I restart both nodes, and deleted the shcema* and migration* and restarted them. The current cluster looks like this: [default@unknown] describe cluster; Cluster Information: Snitch: org.apache.cassandra.locator.SimpleSnitch Partitioner: org.apache.cassandra.dht.RandomPartitioner Schema v

Re: move one node for load re-balancing then it status stuck at "Leaving"

2011-08-06 Thread Yan Chunlu
is that possible that the implements of cassandra only calculate live nodes? for example: "node move node3" cause node3 "Leaving", then cassandra iterate over the endpoints and found node1 and node2. so the endpoints is 2, but RF=3, Exception raised. is that true? On Fri, Aug 5, 2011 at 3:20 P

Re: move one node for load re-balancing then it status stuck at "Leaving"

2011-08-06 Thread Dikang Gu
Yes, I think you are right. The "nodetool move" will move the keys on the node to the other two nodes, and the required replication is 3, but you will only have 2 live nodes after the move, so you have the exception. On Sun, Aug 7, 2011 at 2:03 PM, Yan Chunlu wrote: > is that possible that the

Re: Cassandra encountered an internal error processing this request: TApplicationError type: 6 message:Internal error

2011-08-06 Thread aaron morton
The NPE is fixed in 0.8.2 see https://github.com/apache/cassandra/blob/cassandra-0.8.2/CHANGES.txt#L13 Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 5 Aug 2011, at 12:46, Dikang Gu wrote: > Sure, I can find the stack trace for

Re: Cassandra encountered an internal error processing this request: TApplicationError type: 6 message:Internal error

2011-08-06 Thread Dikang Gu
That's great! Thanks Aaron. On Sun, Aug 7, 2011 at 2:21 PM, aaron morton wrote: > The NPE is fixed in 0.8.2 see > https://github.com/apache/cassandra/blob/cassandra-0.8.2/CHANGES.txt#L13 > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.t