Virtual tables in Cassandra 4.0

2019-09-19 Thread Pankaj Gajjar
Hello All, I was exploring the Virtual tables and there is not much material available on internet or even apache Cassandra site. I found one link little old one : https://thelastpickle.com/blog/2019/03/08/virtual-tables-in-cassandra-4_0.html have you guys explored it ? what use case it’s fit

Re: Cassandra image for Kubernetes

2019-09-19 Thread Nate McCall
Hi Cyril, Thanks for bringing this topic up. I think it would be a good idea for us to have an "official" docker file in the source tree. There are, however, some caveats: https://issues.apache.org/jira/browse/LEGAL-270?focusedCommentId=15524446&page=com.atlassian.jira.plugin.system.issuetabpanels

Re: Virtual tables in Cassandra 4.0

2019-09-19 Thread Chris Lohfink
It's a new feature in a version thats just in alpha so how they will look may change in the end. There will hopefully be documentation around 4.0 GA release. The feature at a high level though is an interface to handle queries with an implementing class instead of the storage engine. A usecase tha

Re: Cassandra image for Kubernetes

2019-09-19 Thread Dimo Velev
Hi, A docker image for Cassandra would be the first step in the right direction. What one would really want is a kubernetes Operator that can deploy, upgrade, etc. a Cassandra cluster (https://kubernetes.io/docs/concepts/extend-kubernetes/operator). A base image with placeholders would be neat

Re: Cassandra image for Kubernetes

2019-09-19 Thread Jon Haddad
I recently had a side conversation about including a Prometheus endpoint in the sidecar project, which would query virtual tables exclusively. Is it reasonable to require running the sidecar in addition to Cassandra when deploying on K8? My container knowledge is pretty limited. If that's not a

Re: Cassandra image for Kubernetes

2019-09-19 Thread Dimo Velev
Sidecar would be fine I guess provided that it does not require a lot of resources - which kind of eliminates more or less any java implementation. Unsure whether jvm metrics etc are available via virtual tables though. Also forgot an important point about the image for local usage - ability to