Re: RE: RE: What versions should the documentation support now?

2018-03-13 Thread Dinesh Joshi
trunk is the next release which is 4.0. You won't find a branch named 4.0 yet. Dinesh On Tuesday, March 13, 2018, 11:39:44 PM PDT, Kenneth Brotman wrote: #yiv3841634821 #yiv3841634821 -- _filtered #yiv3841634821 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv3841

RE: RE: What versions should the documentation support now?

2018-03-13 Thread Kenneth Brotman
I show a 3.0 and a 3.11 branch but no 4.0. I’m at https://github.com/apache/cassandra . From: Dinesh Joshi [mailto:dinesh.jo...@yahoo.com.INVALID] Sent: Tuesday, March 13, 2018 11:30 PM To: user@cassandra.apache.org Subject: Re: RE: What versions should the documentation support now?

Re: RE: What versions should the documentation support now?

2018-03-13 Thread Dinesh Joshi
Kenneth, The only 4.x docs should go in trunk. If you would like to contribute docs to the 2.x and/or 3.x releases, please make pull requests against branches for those versions. During normal development process, the docs should be updated in trunk. When a release is cut from trunk, any further

RE: What versions should the documentation support now?

2018-03-13 Thread Kenneth Brotman
I made sub directories “2_x” and “3_x” under docs and put a copy of the doc in each. No links were changed yet. We can work on the files first and discuss how we want to change the template and links. I did the pull request already. Kenneth Brotman From: Jonathan Haddad [mailto:j...@jo

Re: Changing a node IP address

2018-03-13 Thread Jeff Jirsa
If you're just trying to change an IP, you can just stop the node, change the IP and restart the node and it'll be fine (change it everywhere). Replacing a node is different: replacing is when a node dies, and you're replacing it with a new node that doesnt have any data. The -Dcassandra.replace_a

Re: sstableupgrade is giving commitlog dir is not readable and writable for the DSE

2018-03-13 Thread AI Rumman
I found the issue. I was running the nodetool command from another user. Sorry for the noise. Thanks. On Tue, Mar 13, 2018 at 6:45 PM, AI Rumman wrote: > Hi, > > I am trying to upgrade Datastax Cassandra 4.8.14 to 5.0.12, which is > Cassandra version 2.0.1 to 3.4.0. > > The software upgrade ope

Changing a node IP address

2018-03-13 Thread Cyril Scetbon
Hey, I always thought that changing the IP address of a node requires to use the same procedure as for a died node, which part of it consists in starting Cassandra the -Dcassandra.replace_address option as indicated at https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsReplaceNo

sstableupgrade is giving commitlog dir is not readable and writable for the DSE

2018-03-13 Thread AI Rumman
Hi, I am trying to upgrade Datastax Cassandra 4.8.14 to 5.0.12, which is Cassandra version 2.0.1 to 3.4.0. The software upgrade operation went fine. But during sstable upgrade, I am getting the following error: nodetool upgradesstables error: commitlog directory '/cassandra_dir/commitlog' or, if

Re: Migration of keyspace to another new cluster

2018-03-13 Thread Nate McCall
> Hi, > We got a requirement to migrate only one keyspace data from one cluster to > other cluster. And we no longer need the old cluster anymore. Can you > suggest what are the best possible ways we can achieve it. > > Regards > Goutham Reddy > Temporarily treat the new cluster as a new datacent

Re: What versions should the documentation support now?

2018-03-13 Thread Jonathan Haddad
Yes, I agree, we should host versioned docs. I don't think anyone is against it, it's a matter of someone having the time to do it. On Tue, Mar 13, 2018 at 6:14 PM kurt greaves wrote: > I’ve never heard of anyone shipping docs for multiple versions, I don’t >> know why we’d do that. You can ge

Re: What versions should the documentation support now?

2018-03-13 Thread kurt greaves
> > I’ve never heard of anyone shipping docs for multiple versions, I don’t > know why we’d do that. You can get the docs for any version you need by > downloading C*, the docs are included. I’m a firm -1 on changing that > process. We should still host versioned docs on the website however. Eit

Re: Migration of keyspace to another new cluster

2018-03-13 Thread dba newsql
Sstable loader On Mar 13, 2018 1:06 PM, "Goutham reddy" wrote: > Hi, > We got a requirement to migrate only one keyspace data from one cluster to > other cluster. And we no longer need the old cluster anymore. Can you > suggest what are the best possible ways we can achieve it. > > Regards > Gou

Re: Fast Writes to Cassandra Failing Through Python Script

2018-03-13 Thread Bruce Tietjen
The following won't address any server performance issues, but will allow your application to continue to run even if there are client or server timeouts: Your python code should wrap all Cassandra statement execution calls in a try/except block to catch any errors and handle them appropriate

Re: Fast Writes to Cassandra Failing Through Python Script

2018-03-13 Thread Goutham reddy
Faraz, Can you share your code snippet, how you are trying to save the entity objects into cassandra. Thanks and Regards, Goutham Reddy Aenugu. Regards Goutham Reddy On Tue, Mar 13, 2018 at 3:42 PM, Faraz Mateen wrote: > Hi everyone, > > I seem to have hit a problem in which writing to cassan

Re: Fast Writes to Cassandra Failing Through Python Script

2018-03-13 Thread Dinesh Joshi
What does your schema look like? Are you seeing any warnings or errors in the server log? Dinesh On Tuesday, March 13, 2018, 3:43:33 PM PDT, Faraz Mateen wrote: Hi everyone, I seem to have hit a problem in which writing to cassandra through a python script fails and also occasionally

Fast Writes to Cassandra Failing Through Python Script

2018-03-13 Thread Faraz Mateen
Hi everyone, I seem to have hit a problem in which writing to cassandra through a python script fails and also occasionally causes cassandra node to crash. Here are the details of my problem. I have a python based streaming application that reads data from kafka at a high rate and pushes it to c

Migration of keyspace to another new cluster

2018-03-13 Thread Goutham reddy
Hi, We got a requirement to migrate only one keyspace data from one cluster to other cluster. And we no longer need the old cluster anymore. Can you suggest what are the best possible ways we can achieve it. Regards Goutham Reddy

Re: Best way to Drop Tombstones/after GC Grace

2018-03-13 Thread Madhu-Nosql
We assume that's becoz of nulls On Tue, Mar 13, 2018 at 12:58 PM, Rahul Singh wrote: > Are you writing nulls or does the data cycle that way? > > -- > Rahul Singh > rahul.si...@anant.us > > Anant Corporation > > On Mar 13, 2018, 11:48 AM -0400, Madhu-Nosql , > wrote: > > Rahul, > > Nodetool scru

Re: Best way to Drop Tombstones/after GC Grace

2018-03-13 Thread Rahul Singh
Are you writing nulls or does the data cycle that way? -- Rahul Singh rahul.si...@anant.us Anant Corporation On Mar 13, 2018, 11:48 AM -0400, Madhu-Nosql , wrote: > Rahul, > > Nodetool scrub is good for rescue, what if its happening all the time? > > > On Tue, Mar 13, 2018 at 10:37 AM, Rahul Sin

Re: Best way to Drop Tombstones/after GC Grace

2018-03-13 Thread Madhu-Nosql
Rahul, Nodetool scrub is good for rescue, what if its happening all the time? On Tue, Mar 13, 2018 at 10:37 AM, Rahul Singh wrote: > Do you anticipate this happening all the time or are you just trying to > rescue? > > Nodetool scrub can be useful too. > > > -- > Rahul Singh > rahul.si...@anant

Re: Best way to Drop Tombstones/after GC Grace

2018-03-13 Thread Rahul Singh
Do you anticipate this happening all the time or are you just trying to rescue? Nodetool scrub can be useful too. -- Rahul Singh rahul.si...@anant.us Anant Corporation On Mar 13, 2018, 11:29 AM -0400, Madhu-Nosql , wrote: > I got few ways to Drop Tombstones- Chos Monkey/Zombie Data mainly to a

Best way to Drop Tombstones/after GC Grace

2018-03-13 Thread Madhu-Nosql
I got few ways to Drop Tombstones- Chos Monkey/Zombie Data mainly to avoid Data Resurrection (you deleted data it will comes back in future) I am thinking of below options, let me know if you have any best practice for this 1.using nodetool garbagecollect 2.only_purge_repaired_tombstones 3.At Tab

Re: Row cache functionality - Some confusion

2018-03-13 Thread Rahul Singh
It’s pretty clear to me that the only thing that gets put into the caches are the top N rows. https://github.com/apache/cassandra/blob/0db88242c66d3a7193a9ad836f9a515b3ac7f9fa/src/java/org/apache/cassandra/db/SinglePartitionReadCommand.java#L523 It may fetch more, but it doesn’t cache it. It may

Re: command to view yaml file setting in use on console

2018-03-13 Thread Jeff Jirsa
Not a typo Look at sample output -- Jeff Jirsa > On Mar 13, 2018, at 1:48 AM, Oleksandr Shulgin > wrote: > >> On Tue, Mar 13, 2018 at 2:43 AM, Jeff Jirsa wrote: >> Cassandra-7622 went patch available today > > Jeff, > > Are you sure you didn't mistype the issue number? I see: > > http

Re: Cassandra storage: Some thoughts

2018-03-13 Thread Vangelis Koukis
On Sat, Mar 10, 2018 at 04:35:05am +0100, Oleksandr Shulgin wrote: > On 9 Mar 2018 16:56, "Vangelis Koukis" wrote: > > > > Hello all, > > > > My name is Vangelis Koukis and I am a Founder and the CTO of Arrikto. > > > > I'm writing to share our thoughts on how people run distributed, > > statef

Re: Cassandra storage: Some thoughts

2018-03-13 Thread Vangelis Koukis
On Fri, Mar 09, 2018 at 07:53:17pm -0500, Rahul Singh wrote: > Interesting. Can this be used in conjunction with bare metal? As in does it > present containers in place if the “real” node until the node is up and > running? > > -- > Rahul Singh > rahul.si...@anant.us > > Anant Corporation > Hel

Re: Cassandra at Instagram with Dikang Gu interview by Jeff Carpenter

2018-03-13 Thread Rahul Singh
I agree with Jeff. I believe the _best_ part of Cassandra exists in its networking , replication , and fault tolerance. The storage engine is as dumb as disk or memory. If we can make it fast by replacing it , great. Maybe even optimize it in JVM. With new paradigms like blockchain entering int

Re: Anomaly detection

2018-03-13 Thread Rahul Singh
I’ve used OpsCenter, New Relic, Splunk, and ELK and all of them have ways to visualize what’s going on. Eventually I just forked a cfstats2csv python program and started making formatted excel files which made it easy to spot anomalies and filter keyspaces / tables across nodes. I have some basi

RE: Cassandra DevCenter

2018-03-13 Thread Jacques-Henri Berthemet
Then you need to make the cp yourself as I described. -- Jacques-Henri Berthemet -Original Message- From: phi...@free.fr [mailto:phi...@free.fr] Sent: Tuesday, March 13, 2018 11:03 AM To: user@cassandra.apache.org Subject: Re: Cassandra DevCenter Same result. - Mail original -

Re: Cassandra DevCenter

2018-03-13 Thread phiroc
Same result. - Mail original - De: "Jacques-Henri Berthemet" À: user@cassandra.apache.org Envoyé: Mardi 13 Mars 2018 10:46:29 Objet: RE: Cassandra DevCenter And that? groovy -cp C:\DevCenter\plugins\* Cass1.groovy DevCenter\plugins contains all needed jars, your problem is just a classp

Re: Cassandra vs MySQL

2018-03-13 Thread Rahul Singh
Oliver, Here’s the criteria I have for you: 1. Do you need massive concurrency on reads and writes ? If not you can replicate MySQL using master slave. Or consider Galera - Maria DB master master. I’ve not used it but then again doesn’t mean that it doesn’t work. If you have time to experimen

RE: Cassandra DevCenter

2018-03-13 Thread Jacques-Henri Berthemet
And that? groovy -cp C:\DevCenter\plugins\* Cass1.groovy DevCenter\plugins contains all needed jars, your problem is just a classpath problem. If that does not work, you'll need to manually make the required classpath, check jars needed in https://mvnrepository.com/artifact/com.datastax.cassand

Re: Cassandra DevCenter

2018-03-13 Thread phiroc
I'm now getting this: Cass1.groovy: 15: unable to resolve class com.datastax.driver.core.ProtocolOptions.Compression @ line 15, column 1. import com.datastax.driver.core.ProtocolOptions.Compression ^ Cass1.groovy: 11: unable to resolve class com.datastax.driver.core.Metadata @ line 11,

Re: command to view yaml file setting in use on console

2018-03-13 Thread Oleksandr Shulgin
On Tue, Mar 13, 2018 at 2:43 AM, Jeff Jirsa wrote: > Cassandra-7622 went patch available today > Jeff, Are you sure you didn't mistype the issue number? I see: https://issues.apache.org/jira/browse/CASSANDRA-7622 Summary: Implement virtual tables Status: Open -- Alex

RE: Cassandra DevCenter

2018-03-13 Thread Jacques-Henri Berthemet
Hi, Try that: groovy -cp C:\DevCenter\plugins\*.jar Cass1.groovy -- Jacques-Henri Berthemet -Original Message- From: phi...@free.fr [mailto:phi...@free.fr] Sent: Tuesday, March 13, 2018 9:40 AM To: user@cassandra.apache.org Subject: Re: Cassandra DevCenter Good morning, when I run

Re: Cassandra DevCenter

2018-03-13 Thread phiroc
Good morning, when I run groovy -cp .\cassandra-driver-core-3.4.0.jar;C:\DevCenter\plugins Cass1.groovy I get the following error message: U:\workarea\ProjetsBNP\groo>run_Cass1.bat "groovy vopts = " Caught: java.lang.NoClassDefFoundError: com/google/common/util/concurrent/AsyncFunction java