Re: [RELEASE] 0.8.0

2011-06-03 Thread Stephen Connolly
Great work! -Stephen P.S. As the release of artifacts to Maven Central is now part of the release process, the artifacts are all available from Maven Central already (for people who use Maven/ANT+Ivy/Gradle/Buildr/etc) On 3 June 2011 00:36, Eric Evans eev...@rackspace.com wrote: I am very

Re: sync commitlog in batch mode lose data

2011-06-03 Thread Peter Schuller
I disable the disk cache of RAID controller,  unfortunately it still lost some data. Disabling caching shouldn't be necessary so much as ensuring that all layers honor write barriers properly. A battery backed cache that survives a power outtage need not be disabled (and usually if you have

RE: Performance issues after upgrading to Cassandra 0.7.6-2 from Cassandra 0.6.6

2011-06-03 Thread Nir Cohen
I think that the problem was solved. The servers have 8G Ram, we changed the heap to 6 (instead of 4G), Thanks Kind regards, -Nir SG_Signature_Logo.png Nir Cohen Co-Founder CTO (+972) 54-242-8419 SimilarWeb http://www.similarweb.com/ | SimilarSites

Re: sync commitlog in batch mode lose data

2011-06-03 Thread Preston Chang
Thank you very much Peter ! After I disable the disk cache and change the cache write mode from write-back to write-through, I saw the result I'd like to see. It seems fsync() only synced the data to the disk cache but not the storage devices while disk cache sync mode in write-back. But I have

Cannot recover SSTable with version f (current version g).

2011-06-03 Thread Dikang Gu
Hi guys, I upgrade the 4-nodes cassandra 0.7.4 cluster to 0.8.0. Then, I do the bin/nodetool decommission on one node, the decommission hangs there and I got the following exceptions on others nodes. ERROR [Thread-55] 2011-06-03 18:02:03,500 AbstractCassandraDaemon.java (line 113) Fatal

Re: Cannot recover SSTable with version f (current version g).

2011-06-03 Thread aaron morton
Could you please create a bug report for this in Jira https://issues.apache.org/jira/browse/CASSANDRA Please check the data directory on the node that encountered the error and include any files names that have tmp in them. Can you also check for log messages on the node you decommissioned at

Re: Cannot recover SSTable with version f (current version g).

2011-06-03 Thread Dikang Gu
Hi Aaron, Thank you for your reply, I've reported a bug on the jira https://issues.apache.org/jira/browse/CASSANDRA-2739 . Since I'm not in the office now, so I will come up with more information and try your methods when I'm in the office again, maybe next Monday. Thanks. -- Dikang Gu 0086

Reading quorum

2011-06-03 Thread Fredrik Stigbäck
Does reading quorum mean only waiting for quorum respones or does it mean quorum respones with same latest timestamp? Regards /Fredrik

RE: Reading quorum

2011-06-03 Thread Jeremiah Jordan
Only waiting for quorum responses and then resolving the one with the latest timestamp to return to the client. From: Fredrik Stigbäck [mailto:fredrik.l.stigb...@sitevision.se] Sent: Friday, June 03, 2011 9:44 AM To: user@cassandra.apache.org Subject: Reading

Loading Keyspace from YAML in 0.8

2011-06-03 Thread Paul Loy
We embed cassandra in our app. When we first load a cluster, we specify one node in the cluster as the seed node. This node installs the schema using StorageService.instance.loadKeyspacesFromYAML(). This call has disappeared in 0.8. How can we do the same thing in Cassandra 0.8? Thanks, --

Setting up cluster and nodetool ring in 0.8.0

2011-06-03 Thread David McNelis
I want to make sure I'm not seeing things from a weird perspective. I have two Cassandra instances where one is set to be the seed, with autobootstap disabled and its seed being 127.0.0.1. The second instance has autobootstrap enabled and the seed IP set to the IP of the first node. I start the

Re: Loading Keyspace from YAML in 0.8

2011-06-03 Thread Paul Loy
ugh! On Fri, Jun 3, 2011 at 5:19 PM, Edward Capriolo edlinuxg...@gmail.comwrote: On Fri, Jun 3, 2011 at 12:14 PM, Paul Loy ketera...@gmail.com wrote: We embed cassandra in our app. When we first load a cluster, we specify one node in the cluster as the seed node. This node installs the

Re: Setting up cluster and nodetool ring in 0.8.0

2011-06-03 Thread Edward Capriolo
On Fri, Jun 3, 2011 at 12:21 PM, David McNelis dmcne...@agentisenergy.comwrote: I want to make sure I'm not seeing things from a weird perspective. I have two Cassandra instances where one is set to be the seed, with autobootstap disabled and its seed being 127.0.0.1. The second instance

Re: Reading quorum

2011-06-03 Thread mcasandra
Fredrik Stigbäck wrote: Does reading quorum mean only waiting for quorum respones or does it mean quorum respones with same latest timestamp? Regards /Fredrik Well it depends on how your CL is for writes. If you write with QUORUM and then read with QUORUM then yes you will get at least

Re: Loading Keyspace from YAML in 0.8

2011-06-03 Thread Edward Capriolo
On Fri, Jun 3, 2011 at 12:35 PM, Paul Loy ketera...@gmail.com wrote: ugh! On Fri, Jun 3, 2011 at 5:19 PM, Edward Capriolo edlinuxg...@gmail.comwrote: On Fri, Jun 3, 2011 at 12:14 PM, Paul Loy ketera...@gmail.com wrote: We embed cassandra in our app. When we first load a cluster, we

RE: Loading Keyspace from YAML in 0.8

2011-06-03 Thread Jeremiah Jordan
Or at least someone should write a script which will take a YAML config and turn it into a CLI script. From: Edward Capriolo [mailto:edlinuxg...@gmail.com] Sent: Friday, June 03, 2011 12:00 PM To: user@cassandra.apache.org Subject: Re: Loading Keyspace from YAML

Re: Loading Keyspace from YAML in 0.8

2011-06-03 Thread Paul Loy
+1 On Fri, Jun 3, 2011 at 9:44 PM, Jeremiah Jordan jeremiah.jor...@morningstar.com wrote: Or at least someone should write a script which will take a YAML config and turn it into a CLI script. -- *From:* Edward Capriolo [mailto:edlinuxg...@gmail.com] *Sent:*

Re: Reading quorum

2011-06-03 Thread aaron morton
It means waiting for at least Quorum responses including the one data request sent to the closest replica. The other replicas are asked to return a digest of the data. The responses are then reconciled and if a difference is detected columns with the highest timestamps will be returned. Hope

CQL - raw bytes values

2011-06-03 Thread Michal Augustýn
Hello, I have read a lot about CQL and I looked into source and it seems that just string, long and uuid can be used as column name/value in CQL commands. Is there any way how to works with pure bytes? I.e. SELECT BYTES(3412) FROM MyColumnFamily. Actually, I wouldn't use CQL without this feature

Re: CQL - raw bytes values

2011-06-03 Thread Jonathan Ellis
You can use any AbstractType, including custom ones. The format depends on AT.fromString; in the case of bytestype (CQL bytea) this is hex: SELECT 'd54' FROM MyColumnFamily On Fri, Jun 3, 2011 at 5:45 PM, Michal Augustýn augustyn.mic...@gmail.com wrote: Hello, I have read a lot about CQL and

What's the best approach to search in Cassandra

2011-06-03 Thread Mark Kerzner
Hi, I need to store, say, 10M-100M documents, with each document having say 100 fields, like author, creation date, access date, etc., and then I want to ask questions like give me all documents whose author is like abc**, and creation date any time in 2010 and access date in 2010-2011, and so

Re: What's the best approach to search in Cassandra

2011-06-03 Thread Jake Luciani
Mark, Check out Solandra. http://github.com/tjake/Solandra On Fri, Jun 3, 2011 at 7:56 PM, Mark Kerzner markkerz...@gmail.com wrote: Hi, I need to store, say, 10M-100M documents, with each document having say 100 fields, like author, creation date, access date, etc., and then I want to

Problem compiling

2011-06-03 Thread Fabio Souto
Hi, I'm upgrading to 0.8 and I need a cluster with pig support, so I downloaded cassandra 0.8-src and when I try to compile I have the following error: [root@hostname cassandra]# ant Buildfile: /usr/cassandra/build.xml maven-ant-tasks-localrepo: maven-ant-tasks-download:

Re: Problem compiling

2011-06-03 Thread Jonathan Ellis
Possibly you have an old version of ant? On Fri, Jun 3, 2011 at 9:08 PM, Fabio Souto fsoutomo...@gmail.com wrote: Hi, I'm upgrading to 0.8 and I need a cluster with pig support, so I downloaded cassandra 0.8-src and when I try to compile I have the following error: [root@hostname

Re: Loading Keyspace from YAML in 0.8

2011-06-03 Thread Colin Taylor
Its ugly for integration testing ... Socket socket = new Socket(127.0.0.1, 9170); final OutputStream cli = socket.getOutputStream(); log.info(loading schema via cli); new PrintWriter(cli).print(new String(readFully(new FileInputStream(cassandra-schema;

Re: Problem compiling

2011-06-03 Thread Fabio Souto
Seems like it's not the problem: [root@nosql-dev cassandra]# ant -version Apache Ant(TM) version 1.8.2 compiled on December 20 2010 On 04/06/2011, at 04:17, Jonathan Ellis wrote: Possibly you have an old version of ant? On Fri, Jun 3, 2011 at 9:08 PM, Fabio Souto fsoutomo...@gmail.com