How to autogenerate timestamp with Spark Cassandra connector

2014-11-11 Thread Shing Hing Man
Hi, I am trying to insert into the following column family using Spark Cassandra connector. CREATE TABLE myks.mycf ( id bigint, msg text, type text, ts, timestamp, primary key (id, msg) ) Is there a way to to have the ts field automatically generate : // dataRdd is of Type RDD[(Int,String,St

Re: Apache Cassandra 2.1.0 : cassandra-stress performance discrepancy between SSD and SATA drive

2014-09-29 Thread Shing Hing Man
events (avg/stddev): 71700./0.00 execution time (avg/stddev): 7.5550/0.00 === Shing On Saturday, 27 September 2014, 10:24, Shing Hing Man wrote: Hi Kevin, Thanks for the reply ! I do not know the exact brand of SSD in my office PC. But the SSD i

Re: Apache Cassandra 2.1.0 : cassandra-stress performance discrepancy between SSD and SATA drive

2014-09-27 Thread Shing Hing Man
r data? 3. what models were they? SSD != SSD… there is a massive amount of performance variability out there. … also … more data is needed. JDK versions the same? cassandra versions the same? what about the config? On Fri, Sep 26, 2014 at 2:39 PM, Shing Hing Man wrote: Hi, > I have ru

Apache Cassandra 2.1.0 : cassandra-stress performance discrepancy between SSD and SATA drive

2014-09-26 Thread Shing Hing Man
Hi, I have run cassandra-stress write and cassandra-stress read on my office PC and on my home PC. Office PC : Intel Core i7-4479, 8 virtual core, 16G RAM, 500G SSD Home PC : Intel Xeon E3-1230V3, 8 virtual core, 8G RAM, 500G SATA disk. From the cassandra-stress result (please see belo

Cassandra 2.0.5 : *-jb-27-Data.db (No such file or directory)

2014-09-08 Thread Shing Hing Man
Hi, I am running Cassandra 2.0.5 on my PC (with just one node and the default cassandra.yaml). I have inserted one million rows into a column family (each row has a int key, two small set columns.) In cqlsh, when I did a select count cqlsh:testks> select count(*) from ips_table limit