cassandra-2.0 Questions
3
Solved
I have created a table as follows in Cassandra:
CREATE TABLE sp.status(
ams text,
load_start_time timestamp,
file_path text,
file_timestamp timestamp,
host text,
load_end_time timestamp,
records_i...
Okun asked 22/1, 2016 at 13:45
3
Solved
I have heard repeatedly that secondary indexes (in cassandra) is only for convenience but not for better performance. The only case where it is recommended to use secondary indexes when you have lo...
Luanaluanda asked 4/8, 2014 at 18:15
0
I just started JanusGraph and my total RAM usage is more than 5GB without firing any queries. I have the following dependent services running
JanusGraph
GremlinServer (via JanusGraph)
Cassandra (...
Possing asked 13/4, 2018 at 4:37
5
I am trying to execute the CQL commands from shell script.
I am able to connect to the cqlsh (CQL version i'm using is 1.1.18) but unable to send the queries to cql.
Any ideas or suggestion how to...
Basia asked 13/8, 2014 at 12:32
2
Solved
One of the nodes in a cassandra cluster has died.
I'm using cassandra 2.0.7 throughout.
When I do a nodetool status this is what I see (real addresses have been replaced with fake 10 nets)
[roo...
Underthrust asked 1/6, 2014 at 16:52
1
Solved
So in the datastax doc, it states that ConsistencyLevel can be set globally through QueryOptions:
QueryOptions qo = new QueryOptions().setConsistencyLevel(ConsistencyLevel.ALL);
I noticed that t...
Crupper asked 1/2, 2018 at 20:15
2
Solved
I'm struggling with the data modelling for the use cases I'm trying to satisfy. I looked at this and this and even this but they're not exactly what I needed.
I have this basic table:
CREATE TABLE ...
Trochilus asked 21/5, 2014 at 14:12
3
Solved
Using Cassandra, how do i see how many partitions were created base on how i created the primary key? I have been following a tutorial and it mentions to go to bin/cassandra-cli and use the LIST co...
Gratitude asked 12/9, 2017 at 1:41
2
I have a cassandra ubuntu visual cluster and need to benchmark it.
I try to do it with yahoo's ycsb (without use of maven if possible).
I use cassandra 3.0.1 but I cant find a suitbale version of ...
Facilitate asked 5/2, 2016 at 18:40
2
Solved
I was going through the tutorial where the instructor says that the default ordering of columns with in a row is UTF8-tye. But he does not touch upon it further.
I don't understand what it means....
Fisc asked 1/8, 2014 at 18:41
3
Solved
I'm using spark with cassandra, and i hava a JavaRDD<String> of clients. And for each client, i want to select from cassandra his Interactions like this :
avaPairRDD<String, List<Inte...
Villiers asked 30/12, 2014 at 14:0
3
Solved
We installed Cassandra 2.0 and configure it for SSL, and we run in this issue at startup. We're using Open JDK
java-1.7.0-openjdk-1.7.0.55-2.4.7.1.el6_5.x86_64
Exception message:
Caused by: jav...
Adele asked 12/6, 2014 at 23:49
0
I have these configuration set for Spark but every time either I am reading from or writing to Cassandra table I am getting ioException
.setMaster(sparkIp)
.set("spark.cassandra.connection.host"...
Fantoccini asked 22/2, 2017 at 10:52
1
Solved
We are using cassandra 2.0.17 and we have a table with 50% selects, 40% of updates and 10% of inserts (no deletes).
To have high read performance for such table we found that it is suggested to u...
Interrex asked 5/10, 2016 at 8:8
3
I have a doubt when i read datastax documentation about cassandra write consistency. I have a question on how cassandra will maintain consistent state on following scenario:
Write consistency lev...
Crybaby asked 13/2, 2014 at 7:15
2
Solved
I am a java developer and am very new to Linux and Cassandra. I am using CentOS6. I am trying to install Cassandra3.4 in the Linux machine. I have followed the steps mentioned in here.
Looks like ...
Dustpan asked 25/3, 2016 at 8:17
1
Solved
I am using Cassandra 2.0 with python CQL.
I have created a column family as follows:
CREATE KEYSPACE IF NOT EXISTS Identification
WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy',
'DC1...
Blackthorn asked 30/5, 2014 at 19:0
4
In Java I connect to Cussandra cluster as this:
Cluster cluster = Cluster.builder().addContactPoints("host-001","host-002").build();
Do I need to specify all hosts of the cluster in there? What ...
Paschal asked 10/11, 2014 at 20:28
2
I have a field cat_to_pub with type as MAP.
{1: '9-20-21', 2: '2-5-21', 4: '2-5-21', 5: '2', 6: '2', 9: '2-83-153-149', 11: '2-5-21-31', 29: '100', 32: '113-198-21'}
I can delete an individual e...
Linderman asked 7/5, 2015 at 14:4
2
Solved
We have multiple update queries in a single partition of a single columnfamily. Like below
update t1 set username = 'abc', url = 'www.something.com', age = ? where userid = 100;
update t1 set user...
Font asked 24/8, 2016 at 10:42
1
Solved
I have a Cassandra datacenter which I'd like to run a full repair on. The datacenter is used for analytics/batch processing and I'm willing to sacrifice latencies to speed up a full repair (nodetoo...
Revisory asked 19/3, 2015 at 13:24
2
Solved
I have this table
create table constants_values
(
key_name_1 text,
key_name_2 text,
values map<text, frozen<nav_tag_values>>,
PRIMARY KEY(key_name_1, key_name_2)
);
UDT:
CREA...
Quipster asked 17/1, 2016 at 13:21
1
Solved
Setup:
We have 3 nodes Cassandra cluster having data of around 850G on each node, we have LVM setup for Cassandra data directory (currently consisting 3 drives 800G + 100G + 100G) and have separate...
Declinometer asked 7/4, 2016 at 15:35
2
Solved
Cassandra newbie question. I'm collecting some data from a social networking site using REST calls. So I end up with the data coming back in JSON format.
The JSON is only one of the columns in my...
Haveman asked 31/3, 2016 at 19:54
3
Solved
I am using cassandra 2.1.10.
So First I will clear that I know secondary index are anti-pattern in cassandra.But for testing purpose I was trying following:
CREATE TABLE test_topology1.tt (
a tex...
Chui asked 1/3, 2016 at 10:8
© 2022 - 2024 — McMap. All rights reserved.