Re: unsubscribe

2015-10-14 Thread Amila Paranawithana
unsubscribe On Wed, Oct 14, 2015 at 5:57 PM, Numan Fatih YARCI wrote: > unsubscribe > > -- *Amila Iroshani Paranawithana , **Senior Software Engineer* *, AdroitLogic * | ☎: +94779747398 | ✍: http://amilaparanawithana.blogspot.com [image:

Re: sstable loader

2015-03-30 Thread Amila Paranawithana
not good java developer, so plz guide. Regards: Rahul Bhardwaj On Fri, Mar 27, 2015 at 2:55 PM, Amila Paranawithana amila1...@gmail.com wrote: Hi, This post[1] may be useful. But note that this was done with cassandra older version. So there may be new way to do this. [1]. http

Re: Java Driver 2.1 reading counter values from row

2015-03-27 Thread Amila Paranawithana
Hi All, This is possible with cassandra-driver-core-2.1.5, with 'row.getLong(sum)'. Thanks On Fri, Mar 27, 2015 at 2:51 PM, Amila Paranawithana amila1...@gmail.com wrote: in Apache Cassandra Java Driver 2.1 how to read counter type values from a row when iterating over result set. eg: If I

Java Driver 2.1 reading counter values from row

2015-03-27 Thread Amila Paranawithana
in Apache Cassandra Java Driver 2.1 how to read counter type values from a row when iterating over result set. eg: If I have a counter table called 'countertable' with key and a counter colum 'sum' how can I read the value of the counter column using Java driver? If I say, row.getInt(sum) this

Re: sstable loader

2015-03-27 Thread Amila Paranawithana
Hi, This post[1] may be useful. But note that this was done with cassandra older version. So there may be new way to do this. [1]. http://amilaparanawithana.blogspot.com/2012/06/bulk-loading-external-data-to-cassandra.html Thanks, On Fri, Mar 27, 2015 at 11:40 AM, Rahul Bhardwaj

Re: Creating counter columns in cassandra

2012-07-31 Thread Amila Paranawithana
Hi all, Thanks all for the valuable feedback. I have a problem with running queries with Cqlsh. My query is SELECT * FROM rule1 WHERE sms=3; java.lang.NumberFormatException: An hex string representing bytes must have an even length at org.apache.cassandra.utils.Hex.hexToBytes(Hex.java:52) at

Re: Creating counter columns in cassandra

2012-07-28 Thread Amila Paranawithana
Thanks Tamar and all.. :) Since I want to do queries like SELECT * FROM counters WHERE CounterColumnName1; I want to index my counter columns, and I use the following code. But I get the following error Exception in thread main me.prettyprint.hector.api.exceptions.HInvalidRequestException: