hector Questions
4
Solved
For operations monitoring of my application, I am looking for something similar to the commonly used "SQL connection validation" query
SELECT 1;
in Cassandra, using the Hector driver. I have t...
6
Solved
What is the best approach to write unit tests for code that persists data to nosql data store, in our case cassandra?
=> We are using embedded server approach using a utility from git hub (https:/...
Axel asked 7/7, 2011 at 14:20
4
Solved
I am using embedded Cassandra. When I shut down and restart my Cassandra service data is lost. I think decent data are not properly flushed into the disk. So I tried using nodetool to flush data ma...
2
Solved
I have a table like this in CQL3
create table product_info
(
key text,
value text,
Primary key (key)
);
It is a vertical table . Since I can insert new rows with (key , value ) pair.
Sample ...
Horotelic asked 23/12, 2014 at 1:52
2
Solved
I have one column family that has multiple counter columns. Now I want to get their value behalf of different row keys, Means like RangeSlicesQuery or MultigetSliceQuery, I want to apply on counter...
Migdaliamigeon asked 2/4, 2014 at 9:4
5
Solved
I have recently started working with Cassandra Database. Now I am in the process of evaluating which Cassandra client we should go forward with.
I have seen various post on stackoverflow ab...
3
Whenever I use any Hector API function to access my Cassandra database, I get an exception:
me.prettyprint.hector.api.exceptions.HectorException: All host pools marked down. Retry burden pushed ou...
3
Solved
I'm using Cassandra, and I want to make a data browser which shows the contents of any column family. I need to get the column names to configure a UI grid. Is it possible to collect the names of c...
2
Solved
I am looking for a code example to retrieve all rows and all columns of a column family. Something like:
SELECT * FROM MyTable
I see that this can be done using a RangeSlicesQuery, but you still...
1
Does Cassandra support TTL for the Counter column family?
Specifically we use Hector as a client to Cassandra and I didn't find any API receiving TTL as a parameter. At least HFactory.createCounte...
4
For any website just starting out, the load initially is minimal & grows with a slow pace initially. People usually start with their MySQL based sites with a single server(***that too a VPS not...
4
I'm currently starting a project that use Cassandra Apache. So I'm interesting in accessing to my database cassandra from Java. For that, I'm using Hector Cassandra. However, I've some doubts about...
1
I'm trying to get column names but could not get way to get only column names.
In cli I executed command describe table nodes, it returned the result:
CREATE TABLE nodes (
key text PRIMARY KEY,
...
Harakiri asked 22/8, 2013 at 7:33
3
Solved
I'm currently experimenting around with Cassandra.
On the client-side (with Hector) I look up a few keys like this:
ColumnFamilyResult<String, String> result = template.queryColumns(Arrays...
2
Solved
I've seen in Hector and Cassandra tutorials that there is DynamicCompositeType.
Can anybody elaborate on difference between
create column family Composite with comparator ='DynamicCompositeTyp...
3
Solved
We are starting a new java web-project with Cassandra as the database. The team is very well-experienced with RDBMS/JPA/Hibernate/Spring but very new to the world of NoSQL. We want to start t...
2
Solved
I am running into an issue "me.prettyprint.hector.api.exceptions.HUnavailableException: : May not be enough replicas present to handle consistency level." when I have RF=1, Read Consistency Level =...
Meingolda asked 5/9, 2012 at 19:58
2
Solved
In maven dependencies I've added the hector to evaluate the Cassandra
<dependency>
<groupId>org.hectorclient</groupId>
<artifactId>hector-core</artifactId>
<ve...
1
Solved
I'm new in cassandra and hector.
I want to retrieve all columns of a row in Cassandra using hector.
After some exploration on web i got some sample codes, but it requires range or column name, lik...
1
Solved
I'm studying the Apache Cassandra version 0.7.6 with Java and Hector, and I tried to create a cluster, a keyspace and insert a column in this keyspace created.
By looking examples I understood tha...
2
Solved
We are doing the following to update the value of a counter, now we wonder if there is a straightforward way to get back the updated counter value immediately.
mutator.incrementCounter(rowid1, "c...
1
Solved
Here's a sample of the scenario I'm facing. Say I have this column family:
create column family CompositeTypeCF
with comparator = 'CompositeType(IntegerType,UTF8Type)'
and key_validation_clas...
Rawson asked 18/1, 2012 at 20:18
1
Solved
I want to count the total number of columns for a Cassandra row using Hector client. Currently I am doing this with a CountQuery, but it seems really slow to me. Also for a row, with just 60k colum...
Flor asked 3/1, 2012 at 15:12
2
I am new to NoSQL and Cassandra. I am experimenting with settings to acheive an in memory cache only solution. I am processing by reading line by line from a 100000 lines file and using Hector to i...
Chalybite asked 6/12, 2011 at 14:9
1
Solved
I'm new to cassandra and hector so i'm trying to execute cql queries but the problem is that not all columns are of type string so how dow I execute the query "select * from users"?
My column fami...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.