Re: Cassandra feature enhancement

2015-04-09 Thread Ali Akhtar
If I were you, I would learn Cassandra's internals and how it works (there are several Webinars that you can watch). Once you understand its internals, then you'll be in a much better position to think of a feature enhancement you can do. You'll also be in a better position to do future Cassandra

Re: When to use STCS/DTCS/LCS

2015-04-09 Thread Divya Divs
hi sir.. I'm a m-tech student. my academic project is under cassandra. I have run the source code of cassandra in eclipse juno using ant build. https://github.com/apache/cassandra. i have to do some feature enhancement in cassandra and i have analyze my application in cassandra. So please tell me

Re: [Cassandra 2.0] truncate table

2015-04-09 Thread Anuj Wadehra
You can try doing it from cassandra cli. Set consistency level to All and then truncate. Anuj Wadehra Sent from Yahoo Mail on Android From:Parth Setya setya.pa...@gmail.com Date:Thu, 9 Apr, 2015 at 7:31 pm Subject:Re: [Cassandra 2.0] truncate table As per this thread

Re: When to use STCS/DTCS/LCS

2015-04-09 Thread Alain RODRIGUEZ
+1 Jens, and there is a specific mailing list for developers ( http://cassandra.apache.org/#lists). But it looks like a great move, good luck Divya. C*heers, Alain 2015-04-09 12:44 GMT+02:00 Jens Rantil jens.ran...@tink.se: Divya, Please start a new thread for that. Or is your question

Re: cqlsh commands for importing .CSV files into cassandra

2015-04-09 Thread Sebastian Estevez
Try this loader if cqlsh doesn't cut your needs -- https://github.com/brianmhess/cassandra-loader All the best, [image: datastax_logo.png] http://www.datastax.com/ Sebastián Estévez Solutions Architect | 954 905 8615 | sebastian.este...@datastax.com [image: linkedin.png]

Re: Cassandra feature enhancement

2015-04-09 Thread Job Thomas
Hi Divya. There is a SubQuery implementation available, in Git repository . You can do some enhancement to make it to be useful for production. https://github.com/jobmthomas/Cassandra-SubQuery

Re: When to use STCS/DTCS/LCS

2015-04-09 Thread Jens Rantil
Divya, Please start a new thread for that. Or is your question related specifically to this thread? Thanks, Jens On Thu, Apr 9, 2015 at 11:34 AM, Divya Divs divya.divi2...@gmail.com wrote: hi sir.. I'm a m-tech student. my academic project is under cassandra. I have run the source code of

Re: When to use STCS/DTCS/LCS

2015-04-09 Thread Divya Divs
Thank you very much Alain. On Thu, Apr 9, 2015 at 8:50 PM, Alain RODRIGUEZ arodr...@gmail.com wrote: +1 Jens, and there is a specific mailing list for developers ( http://cassandra.apache.org/#lists). But it looks like a great move, good luck Divya. C*heers, Alain 2015-04-09 12:44

Re: [Cassandra 2.0] truncate table

2015-04-09 Thread Eduardo Cusa
Yes, with Nodetool clearsnapshot we recovery 90gb aprox. Thanks! El abr 9, 2015 11:44 AM, Laing, Michael michael.la...@nytimes.com escribió: rtfm - trncate creates snapshots by default, they must be cleared on all nodes to recover *disk space *as requested by the OP. On Thu, Apr 9, 2015 at

Re: [Cassandra 2.0] truncate table

2015-04-09 Thread Parth Setya
As per this thread http://stackoverflow.com/questions/10520110/how-do-i-delete-all-data-in-a-cassandra-column-family What you can do to physically remove the files is to go to /var/lib/cassandra/data/keyspace_name and then manually delete the directory with the name of that column family. Do

Cassandra feature enhancement

2015-04-09 Thread Divya Divs
hi sir.. I'm a m-tech student. my academic project is under cassandra. I have run the source code of cassandra in eclipse juno using ant build. https://github.com/apache/cassandra. i have to do some feature enhancement in cassandra and i have analyze my application in cassandra. So please tell me

Re: Availability testing of Cassandra nodes

2015-04-09 Thread Jiri Horky
Hi Jack, it seems there is a some misunderstanding. There are two things. One is that the Cassandra works for application, which may (and should) be true even if some of the nodes are actually down. The other thing is that even in this case you want to be notified that there are faulty Cassandra

[Cassandra 2.0] truncate table

2015-04-09 Thread Eduardo Cusa
Hi Guys, I truncated a column family that has a size of 31 gb, and the disk space was not released what else do i have to do? Regards Eduardo

Re: When to use STCS/DTCS/LCS

2015-04-09 Thread Job Thomas
Hi Divya. There is a SubQuery implementation available, in Git repository . You can do some more enhancement to make it to be useful for production. https://github.com/jobmthomas/Cassandra-SubQuery From: Divya Divs divya.divi2...@gmail.com Sent: Thursday, April

Re: OrderPreservingPartitioner and compound partition key

2015-04-09 Thread Serega Sheypak
I understand the reason, but If I user OrderPreservingPartitioner and have compound partition key, can I use select using only FIRST component of compound partition key? 2015-04-08 20:43 GMT+02:00 Robert Coli rc...@eventbrite.com: On Wed, Apr 8, 2015 at 1:27 AM, Serega Sheypak

Heap memory usage while writing

2015-04-09 Thread Anishek Agarwal
Hello, We have only on CF as CREATE TABLE t1(id bigint, ts timestamp, definition text, primary key (id, ts)) with clustering order by (ts desc) and gc_grace_seconds=0 and compaction = {'class': 'DateTieredCompactionStrategy', 'timestamp_resolution':'SECONDS', 'base_time_seconds':'20',

Re: [Cassandra 2.0] truncate table

2015-04-09 Thread Laing, Michael
rtfm - trncate creates snapshots by default, they must be cleared on all nodes to recover *disk space *as requested by the OP. On Thu, Apr 9, 2015 at 10:17 AM, Anuj Wadehra anujw_2...@yahoo.co.in wrote: You can try doing it from cassandra cli. Set consistency level to All and then truncate.

Re: When to use STCS/DTCS/LCS

2015-04-09 Thread Alain RODRIGUEZ
I guess this give a good idea of when to use one or the other (STCS / LCS), did not hear of DTCS so far... http://www.datastax.com/dev/blog/when-to-use-leveled-compaction C*heers, Alain 2015-04-09 7:09 GMT+02:00 Ajay ajay.ga...@gmail.com: Hi, What are the guidelines on when to use

Spark Cassandra Connector for Python

2015-04-09 Thread mwiewiorski
Hi, At https://github.com/datastax/spark-cassandra-connector I see that you are extending API that Spark provides for interacting with RDDs to leverage some native Cassandra features. We are using Apache Cassandra together with PySpark to do some analytics and since we have community

RE: Availability testing of Cassandra nodes

2015-04-09 Thread SEAN_R_DURITY
I do two types of node monitoring. On each host, we have a process monitor looking for the cassandra process. If it goes down, it will get restarted (if a flag is set appropriately). Secondly, from a remote host, I have an hourly check of all nodes where I essentially log in to each node and