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
thank u *:))*
On Sat, Mar 31, 2012 at 4:51 AM, aaron morton wrote:
> This works…
>
>
> create column family student
> with comparator = 'AsciiType'
> and column_metadata =
> [{
> column_name : name,
> validation_class : 'AsciiType'
> }];
>
> * use compatator instead of coluimn_type.
>
> 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.
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
>
> org.apache.thri
Nick, would that also result in useless duplicates of the statistics?
2012/3/30 Nick Bailey
> 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 and each opsce
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.(AtomicSortedColumns.java:296)
Looks like this dependency is missing from cassandra-all-1
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
t
Also, I had to add the Yammer metrics dependency to get the server to start:
Now, I'm getting an error, which really confuses me:
java.io.IOException: InvalidRequestException(why:SimpleStrategy
requires a replication_factor strategy option.)
at
lucandra.CassandraUtils.c
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, at
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
htt
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 with
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 I
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 wrote:
> Also, I had to add the Yammer metrics dependency to get the server
13 matches
Mail list logo