Re: EOL for COMPACT STORAGE

2016-02-01 Thread Sylvain Lebresne
No, there is no such plan.

On Mon, Feb 1, 2016 at 4:19 PM, Anuj Wadehra  wrote:

> I would appreciate if someone from Dev team could reply?
> ThanksAnuj
>
> Sent from Yahoo Mail on Android
>
>   On Sun, 31 Jan, 2016 at 7:23 pm, Anuj Wadehra
> wrote:   Hi,
> Is there any plan to completely phase out COMPACT STORAGE table format
> such that backward compatability is broken in future?
>
> ThanksAnuj
>
>
>
>


Re: EOL for COMPACT STORAGE

2016-02-01 Thread Anuj Wadehra
I would appreciate if someone from Dev team could reply?
ThanksAnuj

Sent from Yahoo Mail on Android 
 
  On Sun, 31 Jan, 2016 at 7:23 pm, Anuj Wadehra wrote:  
 Hi,
Is there any plan to completely phase out COMPACT STORAGE table format such 
that backward compatability is broken in future?

ThanksAnuj


  


Missing rows while scanning table using java driver

2016-02-01 Thread Priyanka Gugale
Hi,

I am using Cassandra 2.2.0 and cassandra driver 2.1.8. I am trying to scan
a table as per suggestions given here
,
 On running the code to fetch records from table, it fetches different
number of records on each run. Some times it reads all records from table,
 and some times some records are missing. As I have observed there is no
fixed pattern for missing records.

I have tried to set consistency level to ALL while running select query
still I couldn't fetch all records. Is there any known issue? Or am I
suppose to do anything more than running simple "select" statement.

Code snippet to fetch data:

 SimpleStatement stmt = new SimpleStatement(query);
 stmt.setConsistencyLevel(ConsistencyLevel.ALL);
 ResultSet result = session.execute(stmt);
 if (!result.isExhausted()) {
   for (Row row : result) {
 process(row);
   }
 }

-Priyanka