Re: Cassandra book/tutorial

2013-10-28 Thread Erwin Karbasi
Thanks a lot to all for information. I think so that all the current Cassandra are pretty old and outdated. On Oct 28, 2013 6:51 AM, Joe Stein crypt...@gmail.com wrote: Reading previous version's documentation and related information from that time in the past (like books) has value! It helps

Re: manual read repair

2013-10-28 Thread Aaron Morton
We have seen read repair take very long time even for few GBs Read Repair is a process that runs during a read to repair differences in the background. It’s active on (by default) 10% of the reads. I assume you mean nodetool repair (aka anti entropy). It runs in two phases, first it

Re: Read repair

2013-10-28 Thread Aaron Morton
As soon as it came back up, due to some human error, rack1 goes down. Now for some rows it is possible that Quorum cannot be established. Not sure I follow here. if the first rack has come up I assume all nodes are available, if you then lose a different rack I assume you have 2/3 of the

Re: Cassandra SSTable deletion/load reporting question

2013-10-28 Thread Aaron Morton
1.2 w/ vnodes using LeveledCompactionStrategy, using 128 mb SSTables. If you are using LCS the amount of overwritten / deleted data left will be small. Your row will be present in only 1 sstable per level. The number of levels is included in the output from nodetool cfstats on the sstable

Re: Heap almost full

2013-10-28 Thread Aaron Morton
1] [14/10/2013:19:15:08 PDT] ScheduledTasks:1: WARN GCInspector.java (line 145) Heap is 0.8287082580489245 full. You may need to reduce memtable and/or cache sizes. Cassandra will now flush up to the two largest memtables to free up memory. Adjust flush_largest_memtables_at threshold in

Re: gossip marking all nodes as down when decommissioning one node.

2013-10-28 Thread Aaron Morton
(2 nodes in each availability zone) How many AZ’s ? The ec2 instances are m1.large I strongly recommend using m1.xlarge with ephemeral disks or a higher spec machine. m1.large is not up to the task. Why on earth is the decommissioning of one node causing all the nodes to be marked

Re: Adding a data center with data already in place

2013-10-28 Thread Aaron Morton
Today I need to bring that data center back in. It is not 2-3 days out dated. I have two options: 1) Treat this as a new data center and let the nodes sync from scratch, or 2) Bring the nodes back up with all the data in place and do a repair. As long as the nodes were down for less than

RE: Cassandra book/tutorial

2013-10-28 Thread DE VITO Dominique
Hi Erwin, Few books are coming out these months : * Octobre : Mastering Apache Cassandra http://www.packtpub.com/mastering-apache-cassandra/book * November : Cassandra High Performance Cookbook: Second Edition http://www.packtpub.com/cassandra-high-performance-cookbook/book * December :

[RELEASE] Apache Cassandra 2.0.2 released

2013-10-28 Thread Sylvain Lebresne
The Cassandra team is pleased to announce the release of Apache Cassandra version 2.0.2. Cassandra is a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model. You can read more here:

Re: Cassandra book/tutorial

2013-10-28 Thread Erwin Karbasi
Thanks a lot Dominique for the great update, it helped me pretty much! Erwin Karbasi ATT, Senior Software Architect On Mon, Oct 28, 2013 at 11:51 AM, DE VITO Dominique dominique.dev...@thalesgroup.com wrote: Hi Erwin, ** ** Few books are coming out these months : ** ** *

Re: Cassandra book/tutorial

2013-10-28 Thread Erwin Karbasi
Dominique, Which of the books do you most recommend? IMO, the Practical Cassandra is the best one. Erwin Karbasi ATT, Senior Software Architect On Mon, Oct 28, 2013 at 1:21 PM, Erwin Karbasi er...@optinity.com wrote: Thanks a lot Dominique for the great update, it helped me pretty much!

RE: Cassandra book/tutorial

2013-10-28 Thread DE VITO Dominique
I don’t know : most of these books are not out, yet ;-) [@@ THALES GROUP INTERNAL @@] De : erwin.karb...@gmail.com [mailto:erwin.karb...@gmail.com] De la part de Erwin Karbasi Envoyé : lundi 28 octobre 2013 12:24 À : DE VITO Dominique Cc : user@cassandra.apache.org Objet : Re: Cassandra

Re: Cassandra book/tutorial

2013-10-28 Thread Brady Gentile
Hey Erwin,Another option for you to learn Apache Cassandra is via DataStax’s free online training (apologies for the DS plug here; it is free though and teaches you how to get up-and-running with open source Apache Cassandra + Java, with more languages to come next year).It was just announced last

If I set 'listen_address' to 'localhost' I can't get Cassandra to broadcast on localhost

2013-10-28 Thread Michael Hayes
If I set ‘listen_address’ in ‘/etc/cassandra/cassandra.yml’: listen_address: localhost I can telnet: telnet hostname 9160 -YES telnet ip address 9160 -YES telnet localhost 9160 - NO I’m trying to get Usergrid to see Cassandra on localhost, which it currently is unable to do. Usergrid is

Searching Cassandra

2013-10-28 Thread Ari King
Hi, I've recently started with Cassandra I'm curious about how data can be searched. As I understand it, where clauses only apply to primary keys and secondary indices. From what I've researched it appears two options are to use solr or elasticsearch. I'd appreciate feeback from those that have

CQL selecting individual items from a map

2013-10-28 Thread Liam Stewart
I was wondering if anybody could explain the rationale behind disallowing selection of individual elements from a map in CQL and why an entire map must be retrieved at once when items are stored as distinct columns? Are there any plans to allow individual selection? -- Liam Stewart ::

Example Cassandra 2.0 trigger classes?

2013-10-28 Thread Jacob Rhoden
Hi Guys, 1. Before I slog my way through the documentation on using triggers? Is anyone aware of any real world usage sample code or blogs with examples on this? 2. My use case is, if an update would result in changing (for example) the the “name” field of the “person” table, storing a copy of