failing bootstraps with OOM

2016-11-02 Thread Mike Torra
Hi All - I am trying to bootstrap a replacement node in a cluster, but it consistently fails to bootstrap because of OOM exceptions. For almost a week I've been going through cycles of bootstrapping, finding errors, then restarting / resuming bootstrap, and I am struggling to move forward. Some

Re: Introducing Cassandra 3.7 LTS

2016-11-02 Thread Jesse Hodges
Just curious, has anybody created a debian package for this? Thanks, Jesse On Sat, Oct 22, 2016 at 7:45 PM, Kai Wang wrote: > This is awesome! Stability is the king. > > Thank you so much! > > On Oct 19, 2016 2:56 PM, "Ben Bromhead" wrote: > >> Hi All >> >> I am proud to announce we are making

Re: failing bootstraps with OOM

2016-11-02 Thread Oleksandr Shulgin
On Wed, Nov 2, 2016 at 3:35 PM, Mike Torra wrote: > > Hi All - > > I am trying to bootstrap a replacement node in a cluster, but it consistently fails to bootstrap because of OOM exceptions. For almost a week I've been going through cycles of bootstrapping, finding errors, then restarting / resumi

Custom receiver for WebSocket in Spark not working

2016-11-02 Thread Cassa L
Hi, I am using spark 1.6. I wrote a custom receiver to read from WebSocket. But when I start my spark job, it connects to the WebSocket but doesn't get any message. Same code, if I write as separate scala class, it works and prints messages from WebSocket. Is anything missing in my Spark Code? Th

Re: Introducing Cassandra 3.7 LTS

2016-11-02 Thread Benjamin Roth
You can build one on your own very easily. Just check out the desired git repo and do this: http://stackoverflow.com/questions/8989192/how-to-package-the-cassandra-source-code-into-debian-package 2016-11-02 17:35 GMT+01:00 Jesse Hodges : > Just curious, has anybody created a debian package for t

Re: Custom receiver for WebSocket in Spark not working

2016-11-02 Thread Kant Kodali
I don't see a store() call in your receive(). Search for store() in here http://spark.apache.org/docs/latest/streaming-custom-receivers.html On Wed, Nov 2, 2016 at 10:23 AM, Cassa L wrote: > Hi, > I am using spark 1.6. I wrote a custom receiver to read from WebSocket. > But when I start my spar

Re: failing bootstraps with OOM

2016-11-02 Thread Vladimir Yudovin
Hi, probably you can try to start new node with auto_bootstrap: false and then repair keypaces or even tables one by one with nodetool repair Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra Launch your cluster in minutes. On Wed, 02 Nov 2016 10:35:45 -0400Mike

Re: Introducing Cassandra 3.7 LTS

2016-11-02 Thread Jesse Hodges
awesome, thanks for the tip! -Jesse On Wed, Nov 2, 2016 at 12:39 PM, Benjamin Roth wrote: > You can build one on your own very easily. Just check out the desired git > repo and do this: > > http://stackoverflow.com/questions/8989192/how-to- > package-the-cassandra-source-code-into-debian-packag

Rebuilding with vnodes

2016-11-02 Thread Anubhav Kale
Hello, I am trying to rebuild a new Data Center with 50 Nodes, and expect 1 TB / node. Nodes are backed by SSDs, and the rebuild is happening from another DC in same physical region. This is with 2.1.13. I am doing this with stream_throughput=200 MB, concurrent_compactors=256, compactionthroug

Re: Introducing Cassandra 3.7 LTS

2016-11-02 Thread Ben Bromhead
We are not publishing the build artefacts for our LTS at the moment as we don't test them on the different distros (debian/ubuntu, centos etc). If anyone wishes to do so feel free to create a PR and submit them! On Wed, 2 Nov 2016 at 11:37 Jesse Hodges wrote: > awesome, thanks for the tip! > > -

Re: Cassandra Poor Read Performance Response Time

2016-11-02 Thread Jens Rantil
Hi, I am by no means an expert on Cassandra, nor on DateTieredCompactionStrategy. However, looking in "Query 2.xlsx" I see a lot of Partition index with 0 entries found for sstable 186 To me, that looks like Cassandra is looking at a lot of sstables and realize too late that they don't conta

Backup restore with a different name

2016-11-02 Thread Jens Rantil
Hi, Let's say I am periodically making snapshots of a table, say "users", for backup purposes. Let's say a developer makes a mistake and corrupts the table. Is there an easy way for me to restore a replica, say "users_20161102", of the original table for the developer to looks at the old copy? Ch

RE: Backup restore with a different name

2016-11-02 Thread Anubhav Kale
You would have to build some logic on top of what’s natively supported. Here is an option: https://github.com/anubhavkale/CassandraTools/tree/master/BackupRestore From: Jens Rantil [mailto:jens.ran...@tink.se] Sent: Wednesday, November 2, 2016 2:21 PM To: Cassandra Group Subject: Backup restor

Re: Backup restore with a different name

2016-11-02 Thread Bryan Cheng
Hi Jens, When you refer to restoring a snapshot for a developer to look at, do you mean restoring the cluster to that state, or just exposing that state for reference while keeping the (corrupt) current state in the live cluster? You may find these useful: https://docs.datastax.com/en/cassandra/2

Re: Backup restore with a different name

2016-11-02 Thread Jens Rantil
Thanks Anubhav, Looks like a Java project without any documentation whatsoever ;) How do I use the tool? What does it do? Cheers, Jens On Wed, Nov 2, 2016 at 11:36 AM, Anubhav Kale wrote: > You would have to build some logic on top of what’s natively supported. > > > > Here is an option: https

Re: Backup restore with a different name

2016-11-02 Thread Jens Rantil
Bryan, On Wed, Nov 2, 2016 at 11:38 AM, Bryan Cheng wrote: > do you mean restoring the cluster to that state, or just exposing that > state for reference while keeping the (corrupt) current state in the live > cluster? I mean "exposing that state for reference while keeping the (corrupt) curre

Re: Handle Leap Seconds with Cassandra

2016-11-02 Thread Anuj Wadehra
Thanks Ben for taking out time for the detailed reply !! We dont need strict ordering for all operations but we are looking for scenarios where 2 quick updates to same column of same row are possible. By quick updates, I mean >300 ms. Configuring NTP properly (as mentioned in some blogs in your

Re: Rebuilding with vnodes

2016-11-02 Thread kurt Greaves
If the network and both DC's can handle the load it's fine (the new DC would . You'll want to keep an eye on the logs for streaming failures, as it's not always completely clear and you could end up with missing data. You should definitely be aware that rebuilds affect the source DC, so if it's und

Re: Handle Leap Seconds with Cassandra

2016-11-02 Thread Ben Bromhead
Based on most of what I've said previously pretty much most ways of avoiding your ordering issue of the leap second is going to be a "hack" and there will be some amount of hope involved. If the updates occur more than 300ms apart and you are confident your nodes have clocks that are within 150ms

Problem with Jython UDF

2016-11-02 Thread Maciej Bryński
Hi, I have following problem with Jython UDF. 1) I'm using Cassandra 3.9 deb packages and Ubuntu 14.04. I'm running Oracle Java 1.8.0_101-b13) 2) I added jython jar to /usr/share/cassandra/lib. (jython version 2.7.0) This makes creating python function possible 3) I want to test function. cqlsh

DSE Solr create_core - core not getting created on all sole enabled nodes

2016-11-02 Thread Harikrishnan A
Hello I am getting the below error while trying to create solr core from one of the node. dsetool create_core . generateResources=true; org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Create for core . failed on the following servers [.., ..] Out of the 12 nodes in this solr