A Java client library for accessing the Apache Cassandra database
Questions tagged [pelops]
27 questions
1
vote
1 answer
Retrieve objects of sub-relation Cassandra with Kundera (Pelops - JPA)
We are getting a null object while retrieving data from Cassandra using JPA annotation OneToOne/OneToMany (see example below, where "item" is null).
[
{
"idProduct":"095102f1-a987-4f7c-88c3-153d80b6977f",
"item":{
…

Mateus Leonardi
- 11
- 2
1
vote
1 answer
Get specified columns data from Cassandra database not all the columns data
I am working with Cassandra database. I have created one column family which has 10 columns in that.
Now I am interested in retrieving only the columns that I required. I don't need to retrieve all the columns value from the Cassandra…

arsenal
- 23,366
- 85
- 225
- 331
1
vote
1 answer
Cassandra: copy entire row
Is there a recommended way, using a Java client, to copy / clone a row in a Cassandra column family?
I'm currently using Hector (1.0-2) with Cassandra 1.1.8 but switching to another client library shouldn't be a problem.

Andrea
- 2,714
- 3
- 27
- 38
1
vote
1 answer
Using operator 'or' in Cassandra IndexExpression
I have an Java application with Cassandra db. I'm using Cassandra Pelops. I have a columnFamily cf1, and a lot of columns there. For some of them I created secondary index, so I can use them for search. For search purpose, I created a list of…

Djordje Ivanovic
- 4,151
- 4
- 27
- 49
0
votes
1 answer
Maven + Scala + Java + Pelops = trouble
I've a project in Java and Scala and I use maven to compile it.
A Java class uses Pelops to access a Cassandra database and it is all fine (maven compile the entire project), but when I try to access Cassandra from a Scala object (using tha same…

dacanalr
- 183
- 2
- 14
0
votes
2 answers
cassandra pelops weak performance on server than local
m using pelops to talk to cassandra and m wondering with its slower performance on server than local when m trying to insert the 1 GB of data .I m trying a bulk insert that is m creating a batch in mutator.writecolumn of around 2000 columns and…

samarth
- 3,866
- 7
- 45
- 60
0
votes
1 answer
How can I have 40 connections per node to Cassandra database using Pelops client?
By default Pelops will have 20 connections per node-
I was thinking to modify that to have around 40 connections per node. So how can I do that in Pelops? Currently, I am creating pool like this-
private void createPool() {
…

arsenal
- 23,366
- 85
- 225
- 331
0
votes
1 answer
Two Cluster each with 12 nodes- Cassandra database
I have started working on a project in which I am using Cassandra database.
Our production DBA's have setup two cluster and each cluster will have 12 nodes.
I will be using Pelops client to read the data from Cassandra database. Now I am thinking…

arsenal
- 23,366
- 85
- 225
- 331
0
votes
1 answer
Pelops Java Client to insert into Cassandra Database
I recently started working with Cassandra database. I was able to setup single node cluster in my local machine.
And now I was thinking to start writing some sample data to Cassandra Database using Pelops client.
Below is the keyspace and column…

arsenal
- 23,366
- 85
- 225
- 331
0
votes
1 answer
cassandra client hector api java.lang.NoClassDefFoundError: org/apache/log4/Level
I am getting java.lang.NoClassDefFoundError: org/apache/log4/Level.
I'm not a java guy but can read code. What should i do to get rid of this exception?
This exception really have nothing to do with cassandra hector api, why is it bothering…

user836087
- 2,271
- 8
- 23
- 33
0
votes
1 answer
Does Pelops and Hector support IPv6?
I am using pelops to retrieve data from cassandra cluster which has all its servers running on IPv6.
While running this program getting following error.
Exception in thread "main" java.lang.RuntimeException: exception while checking if MBean is…

samarth
- 3,866
- 7
- 45
- 60
-1
votes
1 answer
Reading the data from Pelops client and benchmark the read operation
I am trying to read the data from Cassandra database using Pelops client. I am successfully able to do that.
Now I have started doing benchmarking, meaning how much time read takes from Cassandra database. So I have added my benchmarking code in…

arsenal
- 23,366
- 85
- 225
- 331