837 questions
0
votes
0
answers
53
views
Using Aerospike and redis together in Spring Boot
I want to use Redis and Aerospike together, in the sense that I want to use Aerospike for Spring caching, but I want to use Redis as a memory that I only read a single value from(crud repository).
I ...
1
vote
1
answer
68
views
Aerospike client not adhering to connectionQueueSize
We have a Go application running in a highly concurrent environment. We do several aerospike reads for every single request, by spawning multiple goroutines .
Currently we are facing this issue where ...
0
votes
1
answer
44
views
Aerospike async client call closing and opening connections frequently
We have a flink application where we write data to aerospike. We are using aerospike async client call to write data to aerospike. The changes were working fine but one of the metrics were not ok for ...
0
votes
1
answer
56
views
Why batch_apply fails for multiple keys if policy_batch_apply.POLICY_KEY_SEND set?
I want to create/update a set of records in one batch processing possible update operation atomically. I have a set of keys and corresponding data for each of them. I also have a UDF registered which ...
0
votes
1
answer
53
views
Aerospike Lua Protobuf pb.so: undefined symbol: lua_settop
I try to run simple lua udf in docker and keep getting this error:
ERROR lua create error: error loading module 'protobuf.pb' from file '/usr/local/lib/lua/5.1/protobuf/pb.so':
/usr/local/lib/...
1
vote
2
answers
184
views
Redis vs Aerospike vs Couchbase as a cache use cases? [closed]
I scoured stack overflow and reddit trying to gather as much information as possible and wanted to ask for suggestions on which caching solution to use for the following use cases (with persistence in ...
0
votes
2
answers
90
views
How to generate aerospike key edigest from namespace,set,userkey without aerospike lib
To better understand how aerospike works I want to write a python script that generates the the key from namespace, set, and userkey.
I know that aerospike is using RIPEMD-160 hash and it looks like ...
0
votes
1
answer
43
views
Aerospike DB trace details and location of the trace
Do we have any mechanism to find DB trace/query especially when CRUD operation happens? Like traces that were called/executed at the back just before or at outage timeframe? still trying to see if we ...
1
vote
0
answers
81
views
Loading Data from Aerospike Failing with Spark Connector
Iam using aerospike spark connector to load data from an Aerospike cluster in to dataframe, process it, and write it to another Aerospike cluster. The data has two bins: one with a List of Strings and ...
1
vote
2
answers
89
views
Failed to keep only last key (ordered) in Aerospike Map
I am trying to write facade code that always keep one (in this example, but maybe more keys but keep in desc by order) in a map in Aerospike.
Here is the facade code:
import com.aerospike.client.Value
...
0
votes
1
answer
82
views
Aerospike BatchRead Api find source/originating Set for records in response
Aerospike Batch read api takes an array of sets as input like this:
final Key[] keys1 = new Key[3];
keys1[0] = new Key(config.getNamespace(), config.getSetName(1)), key);
keys1[...
1
vote
1
answer
286
views
How can I semantically validate a YAML schema?
I am working with Aerospike, and I want to create a script that will allow me to validate the aerospike configurations.
I am able to validate the syntax of the files using asconfig validate command.
...
1
vote
1
answer
181
views
Aerospike failedNodes: AerospikeException Timeout
I am getting this error while pushing data into Aerospike, anyone that has encountered this with and possible solution:
Aerospike Error: Client timeout: timeout=0 iterations=3 failedNodes=3 ...
0
votes
1
answer
135
views
aerospike spark connector for inserting large data sets
I am working on inserting 1 billion records into aerospike using a spark job. I am using spark aeropsike connector for this. This job is scheduled to run daily. Whenever job runs, it shoots up CPU on ...
2
votes
1
answer
111
views
POP UP any data from aerospike without key?
How to POP UP first data or any random data from aero spike without key?
I don't want to use scan as it will reduce performance.If Pop UP is not possible, can we just fetch data and delete it ? If ...
0
votes
1
answer
58
views
Unrecognized Field in Dropwizard config.yml File while connecting aerospike
My config.yml file
logging:
-level: INFO
-loggers:
--io.dropwizard.archetypes: DEBUG
mongo:
-host: localhost
-port: 27017
-database: User
aerospike:
-host: localhost
-port: 3000
I am getting the ...
2
votes
2
answers
88
views
Aerospike Memory Calculation for multiple Sets
I need to store a large number of Keys in an shared memory Aerospike Primary Index.
My specs are as follows:
Namespaces : 2,
Number of Records : 500 M,
TTL : 1D,
Replication: 2
According to Aerospike ...
0
votes
1
answer
60
views
How to use aerospike as cache in Spring boot data jpa project with mysql and pgsql as datasources?
We have implemented our application in spring boot + spring data jpa + mysql&pgsql as databases. Can we use aerospike as cache only for my application ? There is no proper documentation or sample ...
1
vote
2
answers
221
views
Are connections in connection pool closed in Aerospike after we close the parent connection?
The ClientPolicy of the Aerospike connection I am creating has minConnsPerNode = 10. When I create a connection using the below syntax in C#
using (AerospikeClient client = new AerospikeClient(...
0
votes
0
answers
42
views
Aerospike client timeout error : timeout=0 iterations=3 failedNodes=3 failedConns=0
I need to integrate the aerospike in my sprint boot application for caching purpose but i am getting the client timeout error.
Aerospike mvn dependency :
<dependency>
<groupId>...
0
votes
0
answers
102
views
NPM Install is not working(with direct Aerospike dependency) with Node 18.15.0 and NPM 9.5.0 In Graviton machine (Arm64)
I am trying to do npm install in Graviton machine with Arm64 architecture .
But getting this below wierd error , Can anyone please help here tried many ways but it's not working . Our service is using ...
-1
votes
1
answer
84
views
Is it ideal to run two aerospike instances on the same server box? [closed]
I'm planning to run two instances of aerospike on the same server on two different ports, so as to use it for two of my services. I want to know if using such a setup is ideally and practically a ...
1
vote
1
answer
104
views
Replacement for PredExp on a list bin
I have a bin of type List. I want to query and get the records for which this bin has a value equal to variable 'val', lets say. Using PredExp this can be done using:
predExps = Arrays.asList(
PredExp....
1
vote
1
answer
100
views
PredExp vs Expression - Aerospike Client (list of integers)
What would be the Expression substitute for the below code which uses PredExp for aerospike client
predExps = Arrays.asList(PredExp.integerVar("v"), PredExp.integerValue((Long) fieldValue), ...
-1
votes
1
answer
143
views
How to achieve Transactional with Spring-boot-aerospike as we are updating mutliple sets in a request [closed]
I am new to Aerospike DB and hoping to try transactional.
We have an API which updates TableA and TableB in a single request.
Now, how can I make my request transactional where atomicity is achieved?
1
vote
1
answer
106
views
Not Equals Replacement for Aerospike
Since PredExps have been deprecated since aerospike client version 6.x.x onwards for Java, what is the corresponding Filter Expression replacement for the notEquals functionality that PredExps ...
1
vote
1
answer
186
views
Aerospike java client RecordSet next function hang for infinite time after query a set
In java aerospike client 6.0.0, thread blocked for infinite time in records.next() call, however we have set totalTimeout in queryPolicy to 30 seconds. This even happened we don’t have any data in the ...
2
votes
2
answers
79
views
How to use aerospike to generate a unique auto-incrementing ID,like redis
How to use aerospike to generate a unique auto-incrementing ID,like redis
i want to use aerospike to generate a unique auto-incrementing ID,like redis 。I don't know how I can do it,Has anyone tried ...
1
vote
1
answer
133
views
how to set replication-factor at set level in Aerospike?
I need to have replication-factor at set level in Aerospike. I am not able to find whether the Aerospike support this or not. Based on documentation I found that this can be configured at namespace ...
0
votes
0
answers
89
views
Aerospike how to detect stale connections in java client
My java application uses an Aerospike client to connect to a cluster in the cloud. For some reason the cluster went down and we created a new cluster. My java client has stale connections ( which are ...
1
vote
1
answer
261
views
How to use aerospike with testcontainers on github actions
I am trying to run aerospike on testcontainers with github actions,
I am sometimes getting an error and sometimes not when I run this on github actions, the error i got is below,
integration_test.go:...
2
votes
1
answer
183
views
Aerospike Kubernetes operator installing error in EKS cluster
strong textTill the cert-manager every pods working good as followed by aerospike docs. But while installing the operator the operator pods get crash loop backoff.
Installing operator using:
git clone ...
1
vote
0
answers
63
views
How to create Unit test cases for “GetListOfUsers()” function of “UserService.go“ file. Facing issue in creating dummy aerospike.Recordset object
How to create Unit test cases for “GetListOfUsers()” function of “UserService.go“ file. Facing issue in creating dummy aerospike.Recordset object
this is the test file
Sample testfile
func (suite *...
1
vote
1
answer
130
views
I have been trying setup a multi node kubernetes cluster for the Aerospike db as per the docs but getting error while installing operator using helm
After installing the helm and cert-manager required crds. As per the official docs:
kubectl apply -f https://github.com/cert-manager/cert manager/releases/download/v1.12.0/cert-manager.crds.yaml
when ...
0
votes
1
answer
28
views
listoperation.pop in aerospike removing complete list instead of removing item from particular index
ListOperation.pop(binName, metaInfo.getIndex())
can anyone help with this i'm using default write policy
as per doc Create list pop operation.
Server returns item at specified index and removes item ...
1
vote
1
answer
175
views
Aerospike EE Startup Error - feature invalid value 2 for feature feature-key-version
Aerospike Version: Aerospike Enterprise Edition build 4.9.0.37 os el7
Feature File
# generated 2023-04-25 19:57:16
feature-key-version 2
serial-number <ommited>
...
1
vote
1
answer
612
views
Connecting to Aerospike host via SSL using the JDBC driver defaults to 3000 port
I am trying to connect to an aerospike host which requires SSL. Connecting via the aql command works fine. However connecting to the same using the JDBC driver fails.
Running the following command is ...
1
vote
1
answer
212
views
Unable to create aerospike cluster of 2 nodes using docker image
I am currently experimenting with the Aerospike Docker image (aerospike/aerospike-server) and I’m facing difficulties in setting up a simple 2-node cluster on my Mac. I am using Aerospike Community ...
1
vote
1
answer
441
views
Why am I getting error code 81 while trying to run Aerospike backup with admin user and default roles assigned?
While taking aerospike backup, I'm getting below error even though I'm using admin user and I assigned all default roles to admin user.
"error while running scan for 4096 partitions from 0 to ...
1
vote
1
answer
199
views
How to filter out keys based on some pattern on Aerospike?
i have millions of records on aerospike in namespace:set
keys are in this format: lastname/firstname/state/zip
example:
smith/john/fl/32817
smith/carla/tn/45125
brown/chris/tn/45125
i want to get ...
1
vote
1
answer
251
views
How to search list items by regex with Aerospike Expressions
We are migrating from our old aerospike version 3.15.1.4 to version 6.2.0.7. This involves the migration from aerospike-client-go v4.5.2+incompatible to aerospike-client-go/v6 v6.6.0. Predicate ...
1
vote
1
answer
285
views
Getting Error: unrecognized option -march=nocona while installing aerospike 3.10.0 version for python on amazon linux 2 system
I am currently using aerospike version < 4.9, which requires a python aerospike client < 5.0.0
While doing pip install aerospike==3.10.0, I am getting this error
Assembler messages:
Error: ...
1
vote
1
answer
250
views
How to use Aerospike aeroMapper.query method without the filter argument using java client
I am trying to use Aerospike AeroMapper's query method through java client and the record selection logic is written in the policy so I have no need to pass any filter in the method.
policy.filterExp =...
3
votes
1
answer
169
views
Get Aerospike hyperLogLog(HLL) intersection count of multiple HLL unions
I have 2 or more HLLs that are unioned, I want to get the intersection count of that unions.
I have used the example from here hll-python example
Following is my code
ops = [hll_ops.hll_get_union(...
2
votes
1
answer
113
views
Facing TLS write failed: -2 issue while writing to aerospike
I have aerospike 6.0.0 installed on server and being used as cache. Also I am using Node.js client 5.2.0 to connect to the database.The aerospike nodes are configured to use TLS. The config of the ...
2
votes
2
answers
494
views
Aerospike query execution in golang
Is there any way to implement below query in golang :
select * from test.demo in mapvalues where shopping_cart = "FL"
2
votes
1
answer
156
views
Reverse mapping in aerospike
I have a few records in aerospike in following key-value pair :
Key : "1234"
Value : {
"XYZ":{
"B":[1,3]
"C":[3,4]
...
1
vote
1
answer
137
views
AeroSpike Atomic counter limit
I'm trying to use AeroSpike Atomic counter for load balancing coming txn to a sequence of users. I plan to use the counter to track the number of coming txn and make % with users number to get who to ...
0
votes
0
answers
468
views
Aeropspike Kafka Outbound Connector - using map data type with Kafka Avro format
Am trying to setup Aerospike Kafka Outbound Connector (Source Connector) for Change Data Capture (CDC). When using Kafka Avro format for messages (as explained in https://docs.aerospike.com/connect/...
2
votes
1
answer
810
views
aerospike connect timeout works incorrectly?
I'm using aerospike java client v 6.0.1 and use the following configs from client read policy:
clientPolicy.readPolicyDefault.connectTimeout = 1000;
clientPolicy.readPolicyDefault....