Re: sstable2json and resurrected rows

2012-03-31 Thread Zhu Han
Did you hit the bug here? https://issues.apache.org/jira/browse/CASSANDRA-4054 best regards, 坚果云 https://jianguopuzi.com/, 最简捷易用的云存储 无限空间, 文件同步, 备份和分享! 2012/3/30 Jonas Borgström jo...@borgstrom.se Let me rephrase my question: Is it true that deleted rows will still be present in the

C# + cassandra

2012-03-31 Thread puneet loya
hi every1, * * any good example of C# cassandra? I have downloaded the cassandra-sharp driver for the communication.. I need some examples. Any good references u can suggest? Regards, Puneet Loya

Re: problem in create column family

2012-03-31 Thread puneet loya
thank u *:))* On Sat, Mar 31, 2012 at 4:51 AM, aaron morton aa...@thelastpickle.comwrote: This works… create column family student with comparator = 'AsciiType' and column_metadata = [{ column_name : name, validation_class : 'AsciiType' }]; * use compatator instead of

Re: data size difference between supercolumn and regular column

2012-03-31 Thread aaron morton
does cassandra 1.0 perform some default compression? No. The on disk size depends to some degree on the work load. If there are a lot of overwrites or deleted you may have rows/columns that need to be compacted. You may have some big old SSTables that have not been compacted for a while.

Re: Running multiple sstable loaders

2012-03-31 Thread aaron morton
The Cassandra server will only be bound to one ipaddress. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 29/03/2012, at 1:40 PM, Sanjeev Kulkarni wrote: Hi, Here is the stack trace that we get from sstableloader

Re: another DataStax OpsCenter question

2012-03-31 Thread R. Verlangen
Nick, would that also result in useless duplicates of the statistics? 2012/3/30 Nick Bailey n...@datastax.com Unfortunately at the moment OpsCenter only really supports having one instance per cluster. It may be possible to set up an instance in each datacenter, however it has not been tested

Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-03-31 Thread Ben McCann
I'm trying to upgrade Solandra to use 1.1.0-beta2 and think I found a minor issue: java.lang.NoClassDefFoundError: edu/stanford/ppl/concurrent/SnapTreeMap at org.apache.cassandra.db.AtomicSortedColumns$Holder.init(AtomicSortedColumns.java:296) Looks like this dependency is missing from

Re: really bad select performance

2012-03-31 Thread aaron morton
Is there anything in the logs when you run the queries ? Try turning the logging up to DEBUG on the node that fails to return and see what happens. You will see it send messages to other nodes and do work itself. One thing to note, a query that uses secondary indexes runs on a node for each

Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-03-31 Thread Ben McCann
Also, I had to add the Yammer metrics dependency to get the server to start: !-- TODO: Added only because missing from the Cassandra pom. Can be deleted here when added by Cassandra. -- dependency org=com.yammer.metrics name=metrics-core rev=2.0.3 conf=* - *,!sources,!javadoc/

Re: Compression on secondary indexes

2012-03-31 Thread aaron morton
I've not checked the code but (reading https://issues.apache.org/jira/browse/CASSANDRA-3877) I would guess it is not possible to set compression on secondary indexes pre 1.1. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 30/03/2012,

Re: composite query performance depends on component ordering

2012-03-31 Thread aaron morton
Can you post the details of the queries you are running, including the methodology of the tests ? (Here is the methodology I used to time queries previously http://thelastpickle.com/2011/07/04/Cassandra-Query-Plans/) Cheers - Aaron Morton Freelance Developer @aaronmorton

Re: multi region EC2

2012-03-31 Thread aaron morton
I'm kind of guessing here because it's not something I've done before. Obviously test things first… The NTS with a single DC and a single Rack will place data in the same location as the Simple Strategy. You *should* be able to change the replication strategy from, say, SS with RF 3 to NTS

Re: multi region EC2

2012-03-31 Thread Janne Jalkanen
I've switched from SS to NTS on 1.0.x on a single-az cluster with RF3 (which obviously created a single-dc, single-rack NTS cluster). Worked without a hitch. Also switched from SimpleSnitch to Ec2Snitch on-the-fly. I had about 12GB of data per node. Of course, your mileage may vary, so while

Re: [BETA RELEASE] Apache Cassandra 1.1.0-beta2 released

2012-03-31 Thread Ben McCann
Ok, got that figured out. That was my fault. Though I'd suggest deleting that method instead of having it be a no-op. The missing Maven deps still seem like a bug though. On Sat, Mar 31, 2012 at 12:26 PM, Ben McCann b...@benmccann.com wrote: Also, I had to add the Yammer metrics dependency