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.
76
questions
0
votes
0
answers
26
views
Failed Index shard allocation "shard or keyspace unavailable"
We have three node elasendra cluster.We upgraded it recently, but after that I can see indices on each node are red.
[f_historical_stories_qa_2020_03_30][0], node[0fObMI6wRVqgLlsNtKHeCA], [P], ...
0
votes
0
answers
21
views
Is there an online method for upgrading Elassandra?
We will have to upgrade Elassendra but not getting any online documentation which explain the Elassendra upgrade.
For upgradting Elassendra, Is there any online method to upgrade it with less downtime?...
1
vote
2
answers
74
views
Where is conf/elasticsearch.yml file in Elassandra Docker image?
I am trying to using elassandra (which is elasticsearch + cassandra) in Docker image, so I am beginner with it. In such case, my question can be beginner level, sorry for that :)
I have started that ...
1
vote
1
answer
41
views
Elassandra replication information and rack configuration
I recently started working with an Elassandra cluster with two data centers which have been configured using NetworkTopologyStrategy.
Cluster details : Elassandra 6.2.3.15 = Elasticsearch 6.2.3 + ...
0
votes
0
answers
23
views
How to run elassandra on windows
By going through the document I have tried to run elassandra by using cassandra -e command, but it's working and throwing invalid parameters : empty value error
I believe the command should be ...
0
votes
1
answer
100
views
How to connect Kibana 7x with Elassandra 6.2.3?
I was trying to connect my Elassandra to Kibana 7x but got some compatibility issue seems Elassandra uses Elasticsearch 6.2.3 and I was trying to connect to Kibana 7. Need help with upgrading the ...
0
votes
0
answers
31
views
JAR HELL exception for Elassandra
For Monitoring purpose, I have followed steps mentioned in this website https://www.cloudwalker.io/2020/05/17/monitoring-cassandra-with-prometheus/.
At step where it mentions I need to restart ...
0
votes
1
answer
83
views
Elassendra backup Solution
We have three node cluster for Cassandra/Elassandra and I needs to setup backup for this. I used "nodetool snapshot" command for taking backup, but as we are using elasticserach so do I need ...
0
votes
0
answers
47
views
Elassandra >> Elasticsearch data migration, reconciliation
I am trying to migrate the data from Elasticsearch Elassandra 6.x to Elasticseach 7.7.1. Doing there through logstash.
After migration is completed I would like to have some data integrity checks.
I ...
1
vote
1
answer
73
views
Elassandra: UDT List Match Query- No Results
I am using Elassandra. In Cassandra, I have a UDT:
CREATE TYPE test.entity_attributes (
attribute_key text,
attribute_value text
);
It is used in table
CREATE TABLE test.attributes_test (
...
0
votes
1
answer
50
views
Unable to create ES mapping date field
I have a table, one column is a UDT
CREATE TYPE baseinfo (
head_commission_nr text,
internal_source text,
internal_changed date,
);
ES mapping for that part of the table:
"...
0
votes
1
answer
86
views
Installing Elastic Search over cassandra on live server
I need to install elastic search over existing Cassandra database.
I have over 50 customers using the server live now.
There is an option to install elassandra [ Elastic search + Cassandra ]. But my ...
0
votes
1
answer
101
views
Starting Elassandra - Cassandra with Elasticsearch failing with path.home is not configured
Starting Cassandra with Elasticsearch getting following error in ~/logs/system.log
./bin/cassandra -e
java.lang.IllegalStateException: path.home is not configured
at org.elasticsearch....
0
votes
2
answers
203
views
Elassandra data modeling: When to create a secondary index and when not to
I'm not an absolute expert of Cassandra, but what I know (correct me if I'm wrong) is that creating a secondary index for all the fields in a data model is an anti-pattern.
I'm using Elassandra and my ...
0
votes
1
answer
126
views
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 ...
1
vote
1
answer
116
views
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 ...
1
vote
1
answer
82
views
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 ...
0
votes
1
answer
67
views
Elassandra & Cassandra
i'm confused with Elassandra and Cassandra ,
How it works actually ?
Is Elassandra & Cassandra serve as separate databases ?
Does an insert(-XPOST) to elassandra also inserts to cassandra table ?
...
0
votes
2
answers
167
views
Mapping Parser Exception in Elasticsarch
I have created UDT in Cassandra
CREATE type starter.random_data_demo(
destination_wise_count map<text,text>
);
then used this udt in my table
CREATE TABLE demo(
field_data FROZEN<...
1
vote
1
answer
59
views
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 ...
1
vote
1
answer
232
views
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 ...
1
vote
1
answer
235
views
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 ...
0
votes
0
answers
101
views
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 ...
0
votes
1
answer
918
views
Improperly specified VM option 'ThreadPriorityPolicy=42'
$java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, ...
4
votes
0
answers
410
views
Count of Elastic Search index varying when querying through Presto
We are using Elassandra (Elastic Search and Cassandra) and querying on Elastic search index using presto.
When we get count of index using _count API then it comes correct each time, but when we ...
0
votes
1
answer
148
views
Elassandra index data size is 10x than actual data
In Elassandra, the cassandra data size is 8GB but the elasticsearch.data size is 83GB. We have data-in flow of 5 msgs/sec and below is the query used to create tables and indexes:
Table creation:
...
2
votes
1
answer
107
views
Inconsistent Elassandra cluster state after node restart - less data on one node
I have migrated my existing data in 4 nodes Cassandra (with RF=3) to Elassandra and after putting my mappings whole data got indexed into Elassandra. After the completion of indexing, all nodes show a ...
0
votes
2
answers
2k
views
Find IP address of docker container running inside docker swarm
I have a docker swarm cluster. I deployed a Elassandra docker image. Now I want to find that the docker container's IP address for the seed node:
The following are my services in my swarm:
...
1
vote
0
answers
135
views
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 "...
0
votes
1
answer
493
views
How to Share a Docker-Compose Volume in Distributed Cassandra Container using Docker
I have configured distributed version of cassandra using Docker-Compose.
Here is my docker-compose.yml file:
version: '3.0'
services:
cassandra-masters:
image: strapdata/elassandra
...
1
vote
0
answers
60
views
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"}}...
0
votes
1
answer
422
views
Monitoring Elassandra with Prometheus using Docker
I'm trying to run jmx-exporter container with special configuration following this instruction.
I did all the instructions step-by-step. Here is my docker-compose file and conf/config.yml.
docker-...
1
vote
1
answer
220
views
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
0
votes
1
answer
179
views
Elassandra - Error: Could not find or load main class org.apache.cassandra.stress.Stress
I'm trying to run an cassandra-stress on a elassandra cluster.
Buy I'm always getting this error:
$pwd
/usr/share/cassandra/tools/bin
$./cassandra-stress
Error: Could not find or load main ...
2
votes
1
answer
1k
views
Indexing Cassandra using Elassandra
I'm trying to use Elassandra as a standalone instance locally. Using bin/cqlsh I've created a keyspace and have added a test table to it. I want to create an index on this table to run elasticsearch ...
0
votes
0
answers
201
views
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. ...
0
votes
1
answer
98
views
why elassandra uninstall the elastic search default plugins?
elastic search 6.2.3 comes with following plugins by default
GpsIUzc ingest-geoip 6.2.3
GpsIUzc ingest-user-agent 6.2.3
GpsIUzc x-pack-core 6.2.3
GpsIUzc x-pack-deprecation 6.2.3
...
0
votes
2
answers
269
views
Error when creating mapping in Elassandra
I am testing Elassandra and have some problems with creating a mapping between the existincg Cassandra tables and Elasticsearch.
Accordingly to the documentation, I've used this PUT request:
PUT to ...
0
votes
1
answer
384
views
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 ...
0
votes
1
answer
730
views
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 ...
0
votes
1
answer
221
views
How do I setup esrally to use with elassandra and my own tests?
I'm wondering whether others have attempt benchmarking Elassandra (more specifically, I'm using express-cassandra) using esrally. I'm hoping to not spend to much more time on esrally if that's not a ...
0
votes
1
answer
525
views
How do I refer to multiple nesting levels in an Elastic Search's Filter Aggregation?
Let's call my root level foo and my child level events. I want to aggregate on the events level but with a filter that EITHER the event has color "orange" OR the parent foo has customerId "35".
So, I ...
2
votes
1
answer
1k
views
Cassandra nodes becomes unreachable to each other
I have 3 nodes of elassandra running in docker containers.
Containers created like:
Host 10.0.0.1 : docker run --name elassandra-node-1 --net=host -e CASSANDRA_SEEDS="10.0.0.1" -e ...
0
votes
2
answers
86
views
Elassandra Search for Replicated Data
How token_range is decided in Elassandra while distributing the query to node?
What happens when the data is replicated across Elassandra node(s)?
How does the filtering of duplicate results take ...
0
votes
0
answers
110
views
Elassandra Node failing to start
We are building Elassandra Cluster on a Single AWS Region with the DC being spread over 3 AZ(s). We are using ec2snitch and facing the following exception while starting the 2nd node in the cluster. ...
0
votes
1
answer
108
views
Cannot Indexing/discover multiple fields in Elassandra
Trying to create index on multiple fields (discovering 2 fields) in existing Cassandra table as below code.
curl -XPUT -H 'Content-Type: application/json' 'http://x.x.x.x:9200/final_index' -d '
{
"...
0
votes
1
answer
1k
views
Aggregation, Date range query in Elassandra/Elastic Search
Getting different results while searching on the date range aggregation indexing.
Created the index like below.
curl -XPUT -H 'Content-Type: application/json' 'http://x.x.x.x:9200/date_index' -d '{
...
0
votes
1
answer
85
views
Date range search in Elassandra
I have created a index like below.
curl -XPUT -H 'Content-Type: application/json' 'http://x.x.x.x:9200/date_index' -d '{
"settings" : { "keyspace" : "keyspace1"},
"mappings" : {
"table1" : {
...
1
vote
2
answers
364
views
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 ...
0
votes
1
answer
83
views
How to search in elassandra within a frozen of map?
I am using elassandra version 6.2.3.4
And I have a cassandra table structure like below : -
CREATE TABLE trackfleet_db.eventsgroup (
imei text,
week int,
event text,
startevent timestamp,
oevent ...