Re: Can cassandra pick configuration from environment variables

2020-06-29 Thread Angelo Polo
You can, however, set the environment variable CASSANDRA_CONF to direct the startup script to the configuration directory that holds cassandra.yaml, cassandra-env.sh, etc. So while you can't set individual C* configuration parameters from environment variables, you could have different configuratio

Announcing ApacheCon @Home 2020

2020-06-29 Thread Rich Bowen
Hi, Apache enthusiast! (You’re receiving this because you’re subscribed to one or more dev or user mailing lists for an Apache Software Foundation project.) The ApacheCon Planners and the Apache Software Foundation are pleased to announce that ApacheCon @Home will be held online, September 29

Re: Can cassandra pick configuration from environment variables

2020-06-29 Thread Jeff Jirsa
You can probably implement a custom config loader that pulls all the config from env vars, if you're so inclined (a bit of java, the interface has a single method, maybe one or two hooks into the db, which may be suitable for committing for general purpose use). On Mon, Jun 29, 2020 at 4:35 AM Ang

Re: Can cassandra pick configuration from environment variables

2020-06-29 Thread Reid Pinchback
It’s pretty easy to make Ansible, or Python with Jinja by itself if you don’t use Ansible, and just templatize your config file so the environment variables get substituted. From: Jeff Jirsa Reply-To: "user@cassandra.apache.org" Date: Monday, June 29, 2020 at 10:36 AM To: cassandra Subject: R

Re: Cassandra write path during the decommissioning process

2020-06-29 Thread Jai Bheemsen Rao Dhanwada
Can someone please share thoughts on this? On Wed, Jun 24, 2020 at 4:25 PM Jai Bheemsen Rao Dhanwada < jaibheem...@gmail.com> wrote: > Hello, > > I would like to understand how the writes happen when there is a node in > the cluster that is being decommissioned. > > During the decommission proces

Re: Cassandra write path during the decommissioning process

2020-06-29 Thread Jeff Jirsa
When range movements happen (bootstrap and decom are the same here), the reads go to the existing replicas, and the writes go to both existing and the gaining replicas. This is because the decom (or bootstrap, or move) may fail at any time, so you need to make sure the consistency contract is main

RE: Cassandra container, Google Cloud and Kubernetes

2020-06-29 Thread Manu Chadha
Hi I have started using Cass-Operator and the setup worked like a charm! https://github.com/datastax/cass-operator I have an issue though. My cluster is up and running on GCP. But how do I access it from my laptop? Sorry, new to Kubernetes so do not know how to access the cluster from outside?

RE: Cassandra container, Google Cloud and Kubernetes

2020-06-29 Thread Manu Chadha
In continuation to my previous message, I can see the nodes are up on the GCP dashboard. I can ping the external IP from my laptop but when I run `cqlsh external_ip 9042` then the connection fails. How do I go about connecting the K8s/Cassandra cluster to outside work so that my web application

Re: Cassandra write path during the decommissioning process

2020-06-29 Thread Jai Bheemsen Rao Dhanwada
Thank you On Mon, Jun 29, 2020 at 1:01 PM Jeff Jirsa wrote: > When range movements happen (bootstrap and decom are the same here), the > reads go to the existing replicas, and the writes go to both existing and > the gaining replicas. > > This is because the decom (or bootstrap, or move) may fai

Re: Cassandra container, Google Cloud and Kubernetes

2020-06-29 Thread Erick Ramirez
It's really a Kubernetes question but the TL;DR is you need to expose the services of your k8s cluster to the outside world. Have a look at this blog post to get you started -- http://alesnosek.com/blog/2017/02/14/accessing-kubernetes-pods-from-outside-of-the-cluster/. Cheers! >