Speeding up schema generation during tests

2016-10-18 Thread Ali Akhtar
Is there a way to speed up the creation of keyspace + tables during integration tests? I am using an RF of 1, with SimpleStrategy, but it still takes upto 10-15 seconds.

Kafka(9.0.1) error : org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1164731757 larger than 104857600)

2016-10-18 Thread Arun Rai
Hello Kafka/Cassandra experts, *I am getting below error….* org.apache.kafka.common.network.NetworkReceive.readFromReadableChannel( NetworkReceive.java:91) at org.apache.kafka.common.network.NetworkReceive. readFrom(NetworkReceive.java:71) at

Alter Keyspace using cqlengine python driver

2016-10-18 Thread Sandeep Dommaraju (BLOOMBERG/ 731 LEX)
Hi Guys, Is there a way to ALTER KEYSPACE using cqlengine python driver? Schema management for cqlengine supports CREATE/DROP KEYSPACE but does not seem to support ALTER. https://github.com/datastax/python-driver/blob/master/cassandra/cqlengine/management.py

Re: wide rows

2016-10-18 Thread Yabin Meng
With CQL data modeling, everything is called a "row". But really in CQL, a row is just a logical concept. So if you think of "wide partition" instead of "wide row" (partition is what is determined by the has index of the partition key), it will help the understanding a bit: one wide-partition may

Fwd: WARN [SharedPool-Worker-3] AbstractTracingAwareExecutorService.java

2016-10-18 Thread James Joseph
I have seen the following warn in system.log, as a temporary turn around i increased commitlog_size in cassandra.yaml to 64, but how can i trace it down ??? which appilcation is trying to write large writes and to which keyspace and table it is trying to write ?? WARN [SharedPool-Worker-3]

Re: wide rows

2016-10-18 Thread DuyHai Doan
// user table: skinny partition CREATE TABLE user ( user_id uuid, firstname text, lastname text, PRIMARY KEY ((user_id)) ); // sensor_data table: wide partition CREATE TABLE sensor_data ( sensor_id uuid, date timestamp, value double, PRIMARY KEY

RE: wide rows

2016-10-18 Thread S Ahmed
Hi, Can someone clarify how you would model a "wide" row cassandra table? From what I understand, a wide row table is where you keep appending columns to a given row. The other way to model a table would be the "regular" style where each row contains data so you would during a SELECT you would

Re: Cassandra installation best practices

2016-10-18 Thread kurt Greaves
Mehdi, Nothing as detailed as Oracle's OFA currently exists. You can probably also find some useful information here: https://docs.datastax.com/en/landing_page/doc/landing_page/planning/planningAbout.html Kurt Greaves k...@instaclustr.com www.instaclustr.com On 18 October 2016 at 07:38, Mehdi

Re: Adding disk capacity to a running node

2016-10-18 Thread Vladimir Yudovin
On Mon, 17 Oct 2016 15:59:41 -0400Ben Bromhead b...@instaclustr.com wrote For the times that AWS retires an instance, you get plenty of notice and it's generally pretty rare. We run over 1000 instances on AWS and see one forced retirement a month if that. We've never had an instance

Re: Cassandra installation best practices

2016-10-18 Thread Mehdi Bada
Hi Brooke, Thank you for your advices. Finally, no technical standards (provided by DataStax or Apache) exists for deploying Cassandra in a production environment? In comparison with some RDBMS (Oracle, MySQL), some standards (OFA for instance) exists and are provided by Oracle. Best

Re: Cassandra installation best practices

2016-10-18 Thread Brooke Jensen
Hi Mehdi, In addition, give some thought to your cluster topology. For maximum fault tolerance and availability I would recommend using at least three nodes with a replication factor of three. Ideally, you should also use Cassandra logical racks. This will reduce the risk of outage and make