error building cassandra trunk
I synced up cassandra-trunk and trying ant build. getting the following error. Any ideas? [java] error(208): /home/sknikam/cassandra/dev/cassandra-trunk/src/java/org/apache/cassandra/cql/Cql.g:568:1: The following token definitions can never be matched because prior tokens match the same input: T__88,T__89,T__92,T__94,K_WITH,K_USING,K_USE,K_FIRST,K_COUNT,K_SET,K_APPLY,K_BATCH,K_IN,K_CREATE,K_KEYSPACE,K_COLUMNFAMILY,K_INDEX,K_ON,K_DROP,K_INTO,K_TIMESTAMP,K_TTL,FLOAT,COMPIDENT,UUID,MULTILINE_COMMENT
how to know there are some columns in a row
Dear all, Is there any methods to list column names in a row? Thanks, Yonder
Re: error building cassandra trunk
Dunno, I definitely don't get that after either clean or realclean. On Thu, Jun 2, 2011 at 1:36 AM, sachin nikam skni...@gmail.com wrote: I synced up cassandra-trunk and trying ant build. getting the following error. Any ideas? [java] error(208): /home/sknikam/cassandra/dev/cassandra-trunk/src/java/org/apache/cassandra/cql/Cql.g:568:1: The following token definitions can never be matched because prior tokens match the same input: T__88,T__89,T__92,T__94,K_WITH,K_USING,K_USE,K_FIRST,K_COUNT,K_SET,K_APPLY,K_BATCH,K_IN,K_CREATE,K_KEYSPACE,K_COLUMNFAMILY,K_INDEX,K_ON,K_DROP,K_INTO,K_TIMESTAMP,K_TTL,FLOAT,COMPIDENT,UUID,MULTILINE_COMMENT -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com
Re: how to know there are some columns in a row
Hi, just use get Thrift method where super_column and column attributes in ColumnPath structure are empty. Yes, it returns both column names and values but I'm afraid there is no Thrift-way how to get column names only. Augi 2011/6/2 Yonder zy...@yahoo.com.cn: Dear all, Is there any methods to list column names in a row? Thanks, Yonder
Re: sync commitlog in batch mode lose data
Your Losing data because at level quorm with 2 nodes becomes all. Cassandra will not even try to write data after the node goes down . Client should see unavailableexception. For a small window after the failure you will see timedoutexception and those writes should hit the commitlog. On Wednesday, June 1, 2011, leon hong codebloc...@gmail.com wrote: wait geili reply 2011/6/1 Preston Chang zhangyf2...@gmail.com I disable the disk cache of RAID controller, unfortunately it still lost some data. 2011/6/1 Peter Schuller peter.schul...@infidyne.com 1). set commitlog sync in batch mode and the sync batch window in 0 ms 2). one client wrote random keys in infinite loop with consistency level QUORUM and record the keys in file after the insert() method return normally 3). unplug one server (node A) power cord 4). restart the server and cassandra service 5). read the key list generated in step 2) with consistency level ONE How sure are you that the system is honoring fsync() properly, including flushing any caches on underlying drives? Or is this with battery backed caching RAID controllers? -- / Peter Schuller -- by Preston Chang
Performance issues after upgrading to Cassandra 0.7.6-2 from Cassandra 0.6.6
Hi all, Recently we have upgraded our Cassandra servers to version 0.7.6-2 from 0.6.6 We are experiencing a severe performance issues - we must restart the Cassandra servers every half hour (otherwise our apps servers can't connect to the Cassandra servers). Each Cassandra server has 2 SSD drives (one for data and one for commit log), The amount of the read per second for each server is 500. We haven't experienced those issues in 0.6.6 Do you have any ideas? Kind regards, -Nir SG_Signature_Logo.png Nir Cohen Co-Founder CTO (+972) 54-242-8419 http://www.similarweb.com/ SimilarWeb | http://www.similarsites.com/ SimilarSites | http://www.topsite.com/ TopSite image001.png
Re: Berlin Buzzword Hackathon
Just want to recall that if some are in Berlin Buzzword next week, they should consider coming at the cassandra workshop/hackathon (http://berlinbuzzwords.de/wiki/cassandra-hackathon). There's limited room so you'll need to register (but there is a few seats left). -- Sylvain On Wed, May 18, 2011 at 4:03 PM, Eric Evans eev...@rackspace.com wrote: On Wed, 2011-05-18 at 14:31 +0200, Daniel Doubleday wrote: was wondering if there's anybody here planning to go to the Berlin Buzzwords and attend the cassandra hackathon. I'll be there. I'm still indecisive but it might be good to have the chance to talk about experiences in more detail. I thought a hackathon was for... hacking. ;) -- Eric Evans eev...@rackspace.com
[RELEASE] 0.8.0
I am very pleased to announce the official release of Cassandra 0.8.0. If you haven't been paying attention to this release, this is your last chance, because by this time tomorrow all your friends are going to be raving, and you don't want to look silly. So why am I resorting to hyperbole? Well, for one because this is the release that debuts the Cassandra Query Language (CQL). In one fell swoop Cassandra has become more than NoSQL, it's MoSQL. Cassandra also has distributed counters now. With counters, you can count stuff, and counting stuff rocks. A kickass use-case for Cassandra is spanning data-centers for fault-tolerance and locality, but doing so has always meant sending data in the clear, or tunneling over a VPN. New for 0.8.0, encryption of intranode traffic. If you're not motivated to go upgrade your clusters right now, you're either not easily impressed, or you're very lazy. If it's the latter, would it help knowing that rolling upgrades between releases is now supported? Yeah. You can upgrade your 0.7 cluster to 0.8 without shutting it down. You see what I mean? Then go read the release notes[1] to learn about the full range of awesomeness, then grab a copy[2] and become a (fashionably )early adopter. Drivers for CQL are available in Python[3], Java[3], and Node.js[4]. As usual, a Debian package is available from the project's APT repository[5]. Enjoy! [1]: http://goo.gl/CrJqJ (NEWS.txt) [2]: http://cassandra.debian.org/download [3]: http://www.apache.org/dist/cassandra/drivers [4]: https://github.com/racker/node-cassandra-client [5]: http://wiki.apache.org/cassandra/DebianPackaging -- Eric Evans eev...@rackspace.com
Re: Performance issues after upgrading to Cassandra 0.7.6-2 from Cassandra 0.6.6
Where is the bottleneck? See http://spyced.blogspot.com/2010/01/linux-performance-basics.html On Thu, Jun 2, 2011 at 11:18 AM, Nir Cohen n...@similargroup.com wrote: Hi all, Recently we have upgraded our Cassandra servers to version 0.7.6-2 from 0.6.6 We are experiencing a severe performance issues – we must restart the Cassandra servers every half hour (otherwise our apps servers can't connect to the Cassandra servers). Each Cassandra server has 2 SSD drives (one for data and one for commit log), The amount of the read per second for each server is 500. We haven't experienced those issues in 0.6.6 Do you have any ideas? Kind regards, -Nir [image: SG_Signature_Logo.png] *Nir Cohen* Co-Founder CTO (+972) 54-242-8419 SimilarWeb http://www.similarweb.com/ | SimilarSiteshttp://www.similarsites.com/| TopSite http://www.topsite.com/ -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com image001.png
Re: [RELEASE] 0.8.0
Awesome! On Thu, Jun 2, 2011 at 7:36 PM, Eric Evans eev...@rackspace.com wrote: I am very pleased to announce the official release of Cassandra 0.8.0. If you haven't been paying attention to this release, this is your last chance, because by this time tomorrow all your friends are going to be raving, and you don't want to look silly. So why am I resorting to hyperbole? Well, for one because this is the release that debuts the Cassandra Query Language (CQL). In one fell swoop Cassandra has become more than NoSQL, it's MoSQL. Cassandra also has distributed counters now. With counters, you can count stuff, and counting stuff rocks. A kickass use-case for Cassandra is spanning data-centers for fault-tolerance and locality, but doing so has always meant sending data in the clear, or tunneling over a VPN. New for 0.8.0, encryption of intranode traffic. If you're not motivated to go upgrade your clusters right now, you're either not easily impressed, or you're very lazy. If it's the latter, would it help knowing that rolling upgrades between releases is now supported? Yeah. You can upgrade your 0.7 cluster to 0.8 without shutting it down. You see what I mean? Then go read the release notes[1] to learn about the full range of awesomeness, then grab a copy[2] and become a (fashionably )early adopter. Drivers for CQL are available in Python[3], Java[3], and Node.js[4]. As usual, a Debian package is available from the project's APT repository[5]. Enjoy! [1]: http://goo.gl/CrJqJ (NEWS.txt) [2]: http://cassandra.debian.org/download [3]: http://www.apache.org/dist/cassandra/drivers [4]: https://github.com/racker/node-cassandra-client [5]: http://wiki.apache.org/cassandra/DebianPackaging -- Eric Evans eev...@rackspace.com -- /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop */
Re: [RELEASE] 0.8.0
Big thanks to all the contributors and committers :) A - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 3 Jun 2011, at 11:48, Joseph Stein wrote: Awesome! On Thu, Jun 2, 2011 at 7:36 PM, Eric Evans eev...@rackspace.com wrote: I am very pleased to announce the official release of Cassandra 0.8.0. If you haven't been paying attention to this release, this is your last chance, because by this time tomorrow all your friends are going to be raving, and you don't want to look silly. So why am I resorting to hyperbole? Well, for one because this is the release that debuts the Cassandra Query Language (CQL). In one fell swoop Cassandra has become more than NoSQL, it's MoSQL. Cassandra also has distributed counters now. With counters, you can count stuff, and counting stuff rocks. A kickass use-case for Cassandra is spanning data-centers for fault-tolerance and locality, but doing so has always meant sending data in the clear, or tunneling over a VPN. New for 0.8.0, encryption of intranode traffic. If you're not motivated to go upgrade your clusters right now, you're either not easily impressed, or you're very lazy. If it's the latter, would it help knowing that rolling upgrades between releases is now supported? Yeah. You can upgrade your 0.7 cluster to 0.8 without shutting it down. You see what I mean? Then go read the release notes[1] to learn about the full range of awesomeness, then grab a copy[2] and become a (fashionably )early adopter. Drivers for CQL are available in Python[3], Java[3], and Node.js[4]. As usual, a Debian package is available from the project's APT repository[5]. Enjoy! [1]: http://goo.gl/CrJqJ (NEWS.txt) [2]: http://cassandra.debian.org/download [3]: http://www.apache.org/dist/cassandra/drivers [4]: https://github.com/racker/node-cassandra-client [5]: http://wiki.apache.org/cassandra/DebianPackaging -- Eric Evans eev...@rackspace.com -- /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop */
Re: [RELEASE] 0.8.0
Great! Congratulations! -- Dikang Gu 0086 - 18611140205 On Friday, June 3, 2011 at 10:06 AM, aaron morton wrote: Big thanks to all the contributors and committers :) A - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 3 Jun 2011, at 11:48, Joseph Stein wrote: Awesome! On Thu, Jun 2, 2011 at 7:36 PM, Eric Evans eev...@rackspace.com wrote: I am very pleased to announce the official release of Cassandra 0.8.0. If you haven't been paying attention to this release, this is your last chance, because by this time tomorrow all your friends are going to be raving, and you don't want to look silly. So why am I resorting to hyperbole? Well, for one because this is the release that debuts the Cassandra Query Language (CQL). In one fell swoop Cassandra has become more than NoSQL, it's MoSQL. Cassandra also has distributed counters now. With counters, you can count stuff, and counting stuff rocks. A kickass use-case for Cassandra is spanning data-centers for fault-tolerance and locality, but doing so has always meant sending data in the clear, or tunneling over a VPN. New for 0.8.0, encryption of intranode traffic. If you're not motivated to go upgrade your clusters right now, you're either not easily impressed, or you're very lazy. If it's the latter, would it help knowing that rolling upgrades between releases is now supported? Yeah. You can upgrade your 0.7 cluster to 0.8 without shutting it down. You see what I mean? Then go read the release notes[1] to learn about the full range of awesomeness, then grab a copy[2] and become a (fashionably )early adopter. Drivers for CQL are available in Python[3], Java[3], and Node.js[4]. As usual, a Debian package is available from the project's APT repository[5]. Enjoy! [1]: http://goo.gl/CrJqJ (NEWS.txt) [2]: http://cassandra.debian.org/download [3]: http://www.apache.org/dist/cassandra/drivers [4]: https://github.com/racker/node-cassandra-client [5]: http://wiki.apache.org/cassandra/DebianPackaging -- Eric Evans eev...@rackspace.com -- /* Joe Stein http://www.linkedin.com/in/charmalloc Twitter: @allthingshadoop */