Re: Cluster Repairs 'nodetool repair -pr' Cause Severe Increase in Read Latency After Shrinking Cluster

2018-02-23 Thread Fred Habash
. On Feb 21, 2018 1:29 PM, "Fred Habash" wrote: > One node at a time > > On Feb 21, 2018 10:23 AM, "Carl Mueller" > wrote: > >> What is your replication factor? >> Single datacenter, three availability zones, is that right? >> You removed one

Filling in the blank To Do sections on the Apache Cassandra web site

2018-02-23 Thread Kenneth Brotman
These nine web pages on the Apache Cassandra web site have blank To Do sections. Most of the web pages are completely blank. Mind you there is a lot of hard work already done on the documentation. I'll make JIRA's for any of the blank sections where there is not already a JIRA. Then it will be

Re: Materialized Views and TTLs

2018-02-23 Thread Valentina Crisan
Hello Akash, Depends what you mean by downsampling: for example if you have time as clustering key in your table you can order data DESC inside partitions and then just do a select with per partition limit ( last 10 entries in each partition for example). But if you would like to extract a

Re: Right sizing Cassandra data nodes

2018-02-23 Thread onmstester onmstester
Another Question on node density, in this scenario: 1. we should keep time series data of some years for a heavy write system in Cassandra ( 10K Ops in seconds) 2. the system is insert only and inserted data would never be updated 3. in partition key, we used number of months since 1970, so

Re: Alignment and coodination between DataStax's online documentation and Apache Cassandra online documentation

2018-02-23 Thread Myrle Krantz
Hey Kenneth, I think it’s great that you’re working on improving the Cassandra documentation. As a user, I thank you. This really is a pain point. I have one suggestion: I feel like the process of improving that documentation belongs on the dev mailing list, and the end-result belongs on user.

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jeff Jirsa
On Thu, Feb 22, 2018 at 11:06 PM, Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Thu, Feb 22, 2018 at 5:42 PM, Jonathan Haddad > wrote: > >> If it's a new cluster, there's no need to disable auto_bootstrap. >> > > True. > > >> That setting prevents the first

RE: Cassandra Needs to Grow Up by Version Five!

2018-02-23 Thread Kenneth Brotman
A sincere thank you for everyone that replied. I will heavy lift the docs for a while, do my Slender Cassandra reference project and then I’ll try to find one or two areas where I can contribute code to get going on that. I'll have a few JIRA's started by the end of the workday. Kenneth

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Oleksandr Shulgin
On Fri, Feb 23, 2018 at 8:32 AM, Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > > This is important, because if you would like to use it on 3.0, it will not > work unless you make sure that auto_boostrap is *not* set to false. This > is not critical when creating DCs from scratch,

Materialized Views and TTLs

2018-02-23 Thread Akash Gangil
Hi, I had a couple of questions: 1. Can I create a materialized view on a table with a TTL longer than the base table? For ex: my materialized view TTL is 1 month while my base table TTL is 1 week. 2. In the above scenario, since the data in my base table would be gone after a week, would it

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jeff Jirsa
On Fri, Feb 23, 2018 at 10:12 AM, Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Fri, Feb 23, 2018 at 7:02 PM, Jeff Jirsa wrote: >> >> Yes, seeds don't bootstrap. But why? I don't think I ever seen a >>> comprehensive explanation of this. >>> >>> The meaning of

Three simple JIRA's on the documention

2018-02-23 Thread Kenneth Brotman
Three quick and easy JIRA's to begin work on the documentation. I awake your feedback. https://issues.apache.org/jira/browse/CASSANDRA-14257 Add a separate Installing Cassandra section on the menu and move the content there https://issues.apache.org/jira/browse/CASSANDRA-14256

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jeff Jirsa
It comes up from time to time. Rob Coli spent years arguing that this behavior was confusing ( https://issues.apache.org/jira/browse/CASSANDRA-5836 ) , especially in the "I'm replacing a failed seed" sense. It also comes up when you're adding the first few hosts to a new DC (where they're new,

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Oleksandr Shulgin
On Fri, Feb 23, 2018 at 7:02 PM, Jeff Jirsa wrote: > > Yes, seeds don't bootstrap. But why? I don't think I ever seen a >> comprehensive explanation of this. >> >> The meaning of seed in the most common sense is "connect to this host, > and use it as the starting point for

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jon Haddad
In my opinion and experience, this isn’t a real problem, since you define a list of seeds as the first few nodes you add to a cluster. When would you add a node to an existing cluster and mark itself as a seed? It’s neither practical or something you’d do by accident. > On Feb 23, 2018,

Re: Materialized Views and TTLs

2018-02-23 Thread Valentina Crisan
Hello, as far as I know it is not intended for MV's to have a different TTL than the base tables. There was patch released at some point to not allow TTL setting on MV (https://issues.apache.org/jira/browse/CASSANDRA-12868). MV's should inherit the TTL of the base table. Valentina On Fri, Feb

Re: Materialized Views and TTLs

2018-02-23 Thread Akash Gangil
Hi Valentina, In that case, are there any well defined ways on how to do downsampling of data in C*? thanks! On Fri, Feb 23, 2018 at 11:36 AM, Valentina Crisan < valentina.cri...@gmail.com> wrote: > Hello, > > as far as I know it is not intended for MV's to have a different TTL than > the

Alignment and coodination between DataStax's online documentation and Apache Cassandra online documentation

2018-02-23 Thread Kenneth Brotman
To the amazing people of DataStax, The DataStax website is a little unwieldy as it tries to support open source Cassandra and DataStax's version. Meanwhile some of that information would help fill in the Apache Cassandra web site. If you would like to work on this, I'm up for it.

Re: Node fails to start - error in Log (CassandraDaemon.java:710 - Exception encountered during startup)

2018-02-23 Thread Jürgen Albersdorfer
I'm not sure, but from what I've seen in the Code, I would assume that something is wrong with your config file (cassandra.yaml) Maybe there is an earlier error/warning in your logs. 2018-02-23 12:11 GMT+01:00 Jonathan Baynes : > Hi Community, > > > > Can anyone

Node fails to start - error in Log (CassandraDaemon.java:710 - Exception encountered during startup)

2018-02-23 Thread Jonathan Baynes
Hi Community, Can anyone give me some pointers where to look, or start to look for where this issue is coming from? On startup I get this in the logs and my service goes into a failed state. Active(exited) ERROR [main] 2018-02-23 09:56:36,267 CassandraDaemon.java:710 - Exception encountered

RE: Secondary Indexes C* 3.0

2018-02-23 Thread Jacques-Henri Berthemet
A very interesting and detailed article, thank you DuyHai. I think this should be part of general Cassandra documentation. -- Jacques-Henri Berthemet From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: Thursday, February 22, 2018 7:04 PM To: user Subject: Re:

Re: Node fails to start - error in Log (CassandraDaemon.java:710 - Exception encountered during startup)

2018-02-23 Thread Tommy Stendahl
Hi, Check the value of "concurrent_materialized_view_writes" in the cassandra.yaml file. /Tommy On 2018-02-23 12:11, Jonathan Baynes wrote: Hi Community, Can anyone give me some pointers where to look, or start to look for where this issue is coming from? On startup I get this in the