Re: [ANNOUNCEMENT] Website update

2016-09-11 Thread Ashish Disawal
Website looks great. Good job guys. -- Ashish Disawal On Mon, Sep 12, 2016 at 3:00 AM, Jens Rantil wrote: > Nice! The website also feels snappier! > > > On Friday, July 29, 2016, Sylvain Lebresne wrote: > >> Wanted to let everyone know that if you go

Re: How to define blob column in Java?

2016-09-11 Thread Alexandr Porunov
Hello Andy, Thank you very much! Sincerely, Alexandr On Sun, Sep 11, 2016 at 9:53 PM, Andrew Tolbert wrote: > Hi Alexandr, > > I am assuming you are referring to the @Table annotation in the mapping > module in the Datastax Java Driver for Apache Cassandra

Re: Overhead of data types in cassandra

2016-09-11 Thread Eric Stevens
It's important to note that this answer differs quite significantly depending on whether you're talking about Cassandra < 3.0 or >= 3.0 DataStax has a good article on < 3.0: http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architecturePlanningUserData_t.html The Last Pickle has a

Re: Finding records that exist on Cassandra but not externally

2016-09-11 Thread Eric Stevens
I might be inclined to include a generation ID in the partition keys. Keep a separate table where you upgrade the generation ID when your processing is complete. You can even use CAS operations in case you goofed up and generated two generations at the same time (or your processing time exceeds

Re: Cassandra and Kubernetes and scaling

2016-09-11 Thread David Aronchick
Please let me know if I can help at all! On Sun, Sep 11, 2016 at 2:55 PM, Jens Rantil wrote: > Hi Aiman, > > I noticed you never got any reply. This might be of interest: http://blog. > kubernetes.io/2016/07/thousand-instances-of-cassandra-using-kubernetes- > pet-set.html >

Re: Isolation in case of Single Partition Writes and Batching with LWT

2016-09-11 Thread Ryan Svihla
1. A batch with updates to a single partition turns into a single mutation so partition writes aren't possible (so may as well use Unlogged batches) 2. Yes, so use local_serial or serial reads and all updates you want to honor LWT need to be LWT as well, this way everything is buying into the

Re: Cassandra and Kubernetes and scaling

2016-09-11 Thread Jens Rantil
Hi Aiman, I noticed you never got any reply. This might be of interest: http://blog.kubernetes.io/2016/07/thousand-instances-of-cassandra-using-kubernetes-pet-set.html Cheers, Jens On Tuesday, May 24, 2016, Aiman Parvaiz wrote: > Looking forward to hearing from the

Re: Schema Disagreement vs Nodetool resetlocalschema

2016-09-11 Thread Jens Rantil
Hi Michael, Did you ever get an answer on this? I'm curious to hear for future reference. Thanks, Jens On Monday, June 20, 2016, Michael Fong wrote: > Hi, > > > > We have recently encountered several schema disagreement issue while > upgrading Cassandra. In

Re: [ANNOUNCEMENT] Website update

2016-09-11 Thread Jens Rantil
Nice! The website also feels snappier! On Friday, July 29, 2016, Sylvain Lebresne wrote: > Wanted to let everyone know that if you go to the Cassandra website > (cassandra.apache.org), you'll notice that there has been some change. > Outside > of a face lift, the main

Re: Bootstrapping multiple cassandra nodes simultaneously in existing dc

2016-09-11 Thread Jens Rantil
Yes. `nodetool setstreamthroughput` is your friend. On Sunday, September 11, 2016, sai krishnam raju potturi < pskraj...@gmail.com> wrote: > Make sure there is no spike in the load-avg on the existing nodes, as that > might affect your application read request latencies. > > On Sun, Sep 11,

Re: large number of pending compactions, sstables steadily increasing

2016-09-11 Thread Jens Rantil
I just want to chime in and say that we also had issues keeping up with compaction once (with vnodes/ssd disks) and I also want to recommend keeping track of your open file limit which might bite you. Cheers, Jens On Friday, August 19, 2016, Mark Rose wrote: > Hi Ezra, >

Re: Bootstrapping multiple cassandra nodes simultaneously in existing dc

2016-09-11 Thread sai krishnam raju potturi
Make sure there is no spike in the load-avg on the existing nodes, as that might affect your application read request latencies. On Sun, Sep 11, 2016, 17:10 Jens Rantil wrote: > Hi Bhuvan, > > I have done such expansion multiple times and can really recommend >

Re: Bootstrapping multiple cassandra nodes simultaneously in existing dc

2016-09-11 Thread Jens Rantil
Hi Bhuvan, I have done such expansion multiple times and can really recommend bootstrapping a new DC and pointing your clients to it. The process is so much faster and the documentation you referred to has worked out fine for me. Cheers, Jens On Sunday, September 11, 2016, Bhuvan Rawal

Re: Isolation in case of Single Partition Writes and Batching with LWT

2016-09-11 Thread Jens Rantil
Hi, This might be off-topic, but you could always use Zookeeper locking and/or Apache Kafka topic keys for doing things like this. Cheers, Jens On Tuesday, September 6, 2016, Bhuvan Rawal wrote: > Hi, > > We are working to solve on a multi threaded distributed design

Strangeloop?

2016-09-11 Thread Eric Evans
Hi, It may be somewhat late for such an email, but Strangeloop is next week in St. Louis, and I'm curious how many from the Cassandra community might be there. I'll be there for the Papers We Love Conference on Wednesday, in addition to the conference itself on Friday and Saturday (I'm speaking

Bootstrapping multiple cassandra nodes simultaneously in existing dc

2016-09-11 Thread Bhuvan Rawal
Hi, We are running Cassandra 3.6 and want to bump up Cassandra nodes in an existing datacenter from 3 to 12 (plan to move to r3.xlarge machines to leverage more memory instead of m4.2xlarge). Bootstrapping a node would take 7-8 hours. If this activity is performed serially then it will take 5-6

Re: How to define blob column in Java?

2016-09-11 Thread Andrew Tolbert
Hi Alexandr, I am assuming you are referring to the @Table annotation in the mapping module in the Datastax Java Driver for Apache Cassandra (please correct me if I am wrong). You can achieve this with any of these three types using a custom codec

How to define blob column in Java?

2016-09-11 Thread Alexandr Porunov
Hello, I am using @Table annotation to define tables in cassandra. How properly I need to define blob type in Java? With ByteBuffer, byte[], String? Sincerely, Alexandr