Questions tagged [elassandra]

Elassandra = Elasticsearch as a Cassandra secondary index. Elassandra tightly integrates elasticsearch within cassandra as a secondary index, allowing near-realtime search with all existing elasticsearch APIs. Use this tag for questions referring to the Elassandra.

Elassandra Homepage

Elassandra Documentation

Elassandra Github

78 questions
1
vote
1 answer

How to create elastic search index on only few columns on existing cassandra table

I have table on Elassandra. I need to create elastic search index on only few columns of that table not on entire table. {"discover":".*"} option is creating index on all columns of the table. But i am unable create index on few columns. curl -XPUT…
Sridhar
  • 21
  • 2
1
vote
1 answer

Delete records from cassandra

I have written wrong update command. update table_name set col_val = 'x' where PRI_KEY_1 IN ( 50 values ) and PRI_KEY_2 IN ( 50 values ) and CLUSTER_KEY IN ( 10 Values ); This has created 40000 records where there was only 150. I can see only…
1
vote
1 answer

Elassandra single node cluster not starting. Stuck in Mutation Stage

I have a single node Elassandra cluster running on a box. It crashed light night. The following was the last line systemctl status output: Main process exited, code=killed, status=6/ABRT Upon restart however, it got stuck in mutation stage with…
Aditya
  • 13
  • 3
1
vote
1 answer

How to define datacenter.group in conf/elasticsearch.yml in order to run Elassandra multi data center?

I've 2DC DC1 x.x.x.1 running Elassandra 6.2.3 (seed) x.x.x.2 running Elassandra 5.5.0 (seed) DC2 x.x.x.3 running Elassandra 6.2.3 (seed) Actually I didn't want to create a multi data center, at first I have only two nodes in DC1 but they're unable…
BTH.S3
  • 199
  • 1
  • 3
  • 12
1
vote
1 answer

Cassandra new node unable to join the cluster

Actually I'm adding new Elassandra node but the issue obviously involved to the Cassandra configurations. Previously, I have two nodes in the cluster. There're perfectly connect with each other. Using nodetool status also returns both nodes…
BTH.S3
  • 199
  • 1
  • 3
  • 12
1
vote
1 answer

Elasticsearch query for distinct values with multiple conditions

I want to perform following in the elasticsearch. select distinct name, city from students where class = 10 and age = 15; and it should return all distinct values for name and city. How to perform this?
1
vote
0 answers

In Elassandra not able to access elastic search url

Hi, I am new to Elassandra. I want to make setup(windows 10) and hit queries from elastic search url in stored documents. I have installed Elassandra and start it is working fine but i am not able to access elastic search url. I also tried to…
1
vote
0 answers

On running elassandra distribution on windows10 (not on docker) ElasticSearch localhost:9200 not reachable

I downloaded Elassandra distribution from https://github.com/strapdata/elassandra/releases made chanes in elasticsearch.yml file as below and starting elassandra giving "cassandra -f" (also tried "casandra -e" which give error option -e not…
Zeus
  • 47
  • 3
1
vote
0 answers

selecting with where clause with CQL

trying to do a select from CQL and getting an error SELECT uid, login, username FROM test.docs WHERE es_query='{ "query":{"nested":{"path":"username","query":{"term":{"username.first":"barthelemy"}}}}}' AND es_options='indices=test' ALLOW…
BBBIan
  • 31
  • 1
  • 2
1
vote
1 answer

Error: Could not find or load main class org.apache.cassandra.stress.Stress

How can I do a cassandra-stress on a Elassandra cluster? cassandra-stress is not on elassandra file system
Rui Martins
  • 3,337
  • 5
  • 35
  • 40
1
vote
0 answers

Elassandra Integration with Existing Cassandra Instance

I'm trying to learn Elassandra and am having an issue configuring it to my current Cassandra instance (I'm learning Cassandra as well). I downloaded version 3.11.3 of Cassandra to my local computer. I didn't change anything except the cluster_name…
Snowy Coder Girl
  • 5,408
  • 10
  • 41
  • 72
1
vote
1 answer

Cannot create Elasticsearch mapping for Cassandra keyspace

Currently, I am experimenting with Elassandra (combination of Elasticsearch and Cassandra). There I have an existing Cassandra keyspace with tables and want to create a mapping to Elasticsearch so that I can use the Elasticsearch API to…
kola32_
  • 27
  • 1
  • 3
1
vote
1 answer

nodes are available 3 Insufficient cpu

I’m trying to run the following example: https://kubernetes.io/docs/tutorials/stateful-application/cassandra/ When I run on minikube, it runs well. But when I run on GKE, I see an error, 0/3 nodes are available: 3 Insufficient cpu. Anyone can help…
1
vote
2 answers

Elassandra multiple type mapping

I'm using Elassandra to make search in mail, Cassandra to save the mail and ElasticSearch to search in those mails. My problem is that since ElasticSearch 6, we can't use multiple type in one mapping. Here is my mapping: "mappings": { …
1
vote
0 answers

2 Node Cluster not replicating data

Running elassandra 5.5.0.18 (cassandra 3.11.2) I have setup a test cluster containing of 2 nodes. RF = 2. I would expect both nodes to have the same data after bootstrap. Datacenter: datacenter1 ======================= Status=Up/Down |/…
Alex Tbk
  • 2,042
  • 2
  • 20
  • 38