Re: Bulkoutputformat

2013-12-13 Thread Rahul Menon
Here you go http://thelastpickle.com/blog/2013/01/11/primary-keys-in-cql.html On Fri, Dec 13, 2013 at 7:19 AM, varun allampalli vshoori.off...@gmail.comwrote: Hi Aaron, It seems like you answered the question here. https://groups.google.com/forum/#!topic/nosql-databases/vjZA5vdycWA Can

Re: What is the fastest way to get data into Cassandra 2 from a Java application?

2013-12-13 Thread David Tinker
I wrote some scripts to test this: https://github.com/davidtinker/cassandra-perf 3 node cluster, each node: Intel® Xeon® E3-1270 v3 Quadcore Haswell 32GB RAM, 1 x 2TB commit log disk, 2 x 4TB data disks (RAID0) Using a batch of prepared statements is about 5% faster than inline parameters:

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Bonnet Jonathan .
Hello, As i told you i began to explore restore operations, see my config for archive commit logs: archive_command=/bin/bash /produits/cassandra/scripts/cassandra-archive.sh %path %name restore_command=/bin/bash /produits/cassandra/scripts/cassandra-restore.sh %from %to

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Bonnet Jonathan .
Bonnet Jonathan. jonathan.bonnet at externe.bnpparibas.com writes: Thanks Artur, You're right i must comment restore directory too. Now i'll try to practice around restore. Regards, Bonnet Jonathan. Hello, As i told you i began to explore restore operations, see my config

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Bonnet Jonathan .
Artur Kronenberg artur.kronenberg at openmarket.com writes: So, looking at the code: public void maybeRestoreArchive() { if (Strings.isNullOrEmpty(restoreDirectories)) return; for (String dir : restoreDirectories.split(,)) {

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Artur Kronenberg
It's been a while since I tried that but here are some things I can think of: * the .log.out seems wrong. Unless your cassandra commitlogs don't end in .log.out. I tried this locally with your script and my commitlogs get extracted to .log files for me. * I never tried the restore procedure

Restore with archive commitlog

2013-12-13 Thread Bonnet Jonathan .
Hello, As i told you i began to explore restore operations, see my config for archive commit logs: archive_command=/bin/bash /produits/cassandra/scripts/cassandra-archive.sh %path %name restore_command=/bin/bash /produits/cassandra/scripts/cassandra-restore.sh %from %to

Fwd: {kundera-discuss} RE: Kundera 2.9 released

2013-12-13 Thread Vivek Mishra
fyi. -- Forwarded message -- From: Vivek Mishra vivek.mis...@impetus.co.in Date: Fri, Dec 13, 2013 at 8:54 PM Subject: {kundera-discuss} RE: Kundera 2.9 released To: kundera-disc...@googlegroups.com kundera-disc...@googlegroups.com, u...@hbase.apache.org u...@hbase.apache.org

Re: Pig 0.12.0 and Cassandra 2.0.2

2013-12-13 Thread Jeremy Hanna
I need to update those to be current with the Cassandra source download. You’re right, you would just use what’s in the examples directory now for Pig. You should be able to run the examples, but generally you need to specify the partitioner of the cluster, the host name of a node in the

Re: Restore with archive commitlog

2013-12-13 Thread Andrey Ilinykh
As someone told you this feature was added by Netflix to work with Priam (cassandra management tool). Priam itself uses it for several months only, so I doubt if anybody uses this feature in production. Any way, you can ping guys working on Priam. This is your best bet.

Issues while fetching data with pycassa get for super columns

2013-12-13 Thread Kumar Ranjan
Hi Folks - I have having issue fetch data using pycassa get() function. I have copied the CF schema and my code is below. This query returns me just this Results: {u'narrativebuddieswin': ['609548930995445799_752368319', '609549303525138481_752368319', '610162034020180814_752368319',

Re: Bulkoutputformat

2013-12-13 Thread varun allampalli
Thanks Rahul..article was insightful On Fri, Dec 13, 2013 at 12:25 AM, Rahul Menon ra...@apigee.com wrote: Here you go http://thelastpickle.com/blog/2013/01/11/primary-keys-in-cql.html On Fri, Dec 13, 2013 at 7:19 AM, varun allampalli vshoori.off...@gmail.com wrote: Hi Aaron, It

Re: One big table/cf or many small ones?

2013-12-13 Thread Jacob Rhoden
Hi Tinus, On 12 Dec 2013, at 6:59 pm, Tinus Sky tinus...@gmail.com wrote: My service does have users who can add a message to a list. The list of message is sorted by date and displayed. When a user changes the message the date is changed and the message moves to the top of the list. A