Re: Anyone use Cassandra with Spring?

2013-10-22 Thread Les Hartzman
Yes, I'm referring to the DI part and I was just thinking of the template. Is the DI part injecting a configured driver? How much of the JdbcTemplate did you implement? Thanks. Les On Tue, Oct 22, 2013 at 7:28 PM, Blair Zajac wrote: > Are you referring to using the dependency injection part o

Re: Anyone use Cassandra with Spring?

2013-10-22 Thread Blair Zajac
Are you referring to using the dependency injection part or the JdbcTemplate part, or perhaps some other part? I use the Java Driver with Spring just fine and wrote a thin JdbcTemplate style wrapper on top of Java-Driver (in Scala). Blair On 10/21/2013 06:10 PM, Les Hartzman wrote: Has anyo

Re: Questions related to the data in SSTable files

2013-10-22 Thread Robert Coli
On Tue, Oct 22, 2013 at 5:17 PM, java8964 java8964 wrote: > Any way I can verify how often the system being "repaired"? I can ask > another group who maintain the Cassandra cluster. But do you mean that even > the failed writes will be stored in the SSTable files? > "repair" sessions are logged i

RE: Questions related to the data in SSTable files

2013-10-22 Thread java8964 java8964
Any way I can verify how often the system being "repaired"? I can ask another group who maintain the Cassandra cluster. But do you mean that even the failed writes will be stored in the SSTable files? I thought the Cassandra will use different storage to store that kind of data, as the regular

Re: about compression enabled by default in Cassandra 1.1.

2013-10-22 Thread Tyler Hobbs
On Tue, Oct 22, 2013 at 9:29 AM, DE VITO Dominique < dominique.dev...@thalesgroup.com> wrote: > ** > > Is compression working for whatever column value type ? in all cases ? > > ** ** > > For example, if my CF has columns with value type of byte[] (or “blob” > when speaking CQL), is C* still d

Re: Questions related to the data in SSTable files

2013-10-22 Thread Robert Coli
On Tue, Oct 22, 2013 at 2:29 PM, java8964 java8964 wrote: > 1) In the data of full snapshot, I see more than 10% of duplication data. > What I mean duplication is that there are event_activities with the same > (entity_1_id, entity_2_id, entity_3_id, entity_4_id, created_on_timestamp, > column_tim

Questions related to the data in SSTable files

2013-10-22 Thread java8964 java8964
Hi, I have some questions related the data in the SSTable files. Our production environment has 36 boxes, so in theory 12 of them will make one group of data without replication. Right now, I got all the SSTable files from 12 nodes of the cluster (Based on my understanding, these 12 nodes are one

Re: Sorting keys for batch reads to minimize seeks

2013-10-22 Thread Manoj Khangaonkar
Hi, Apologies if my response is a little off track, But instead of trying to squeeze the last ounce of performance out of cassandra, Have you considered putting an external in memory cache in front or along side cassandra ( like a redis or memcached ) to cache frequently used rows. You get fast

Wide rows (time series data) and ORM

2013-10-22 Thread Les Hartzman
As I'm becoming more familiar with Cassandra I'm still trying to shift my thinking from relational to NoSQL. Can Kundera work with wide rows in an ORM manner? In other words, can you actually design a POJO that fits the standard recipe for JPA usage? Would the queries return collections of the POJ

Re: MemtablePostFlusher pending

2013-10-22 Thread Robert Coli
On Mon, Oct 21, 2013 at 11:57 PM, Kais Ahmed wrote: > I will try to create a new cluster 1.2 and copy data, can you tell me > please the best pratice to do this, do i have to use sstable2json / > json2sstable or other method. > Unfortunately to downgrade versions you are going to need to use a m

about compression enabled by default in Cassandra 1.1.

2013-10-22 Thread DE VITO Dominique
Hi, Is compression working for whatever column value type ? in all cases ? For example, if my CF has columns with value type of byte[] (or "blob" when speaking CQL), is C* still doing compression ? Thanks. Regards, Dominique

[RELEASE] Apache Cassandra 1.2.11 released

2013-10-22 Thread Sylvain Lebresne
The Cassandra team is pleased to announce the release of Apache Cassandra version 1.2.11. 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: http://cassan

Re: Sorting keys for batch reads to minimize seeks

2013-10-22 Thread Artur Kronenberg
Hi, we did some testing and found that doing range queries is much quicker then querying data regularly. I am guessing that a range query request is going to seek much more efficiently on disk. This is where the idea of sorting our tokens comes in. We have a batch request of say 1000 items a

High number of ReplicateOnWriteStage All timed blocked, counter CF

2013-10-22 Thread Andrew Bialecki
Hey everyone, We're stress testing writes for a few counter CFs and noticed one one node we got to the point where the ReplicateOnWriteStage thread pool was backed up and it started blocking those tasks. This cluster is six nodes, RF=3, running 1.2.9. All CFs have LCS with 160 MB sstables. All wri