Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread Everton Lima
Anyone knows when astyanax will support Cassandra 1.2 ? 2013/2/7 Vivek Mishra mishra.v...@gmail.com Kundera 2.3 is also upgraded for Cassandra 1.2(except CQL binary protocol). -Vivek On Thu, Feb 7, 2013 at 11:50 AM, Gabriel Ciuloaica gciuloa...@gmail.comwrote: Astyanax is not working

Directory structure after upgrading 1.0.8 to 1.2.1

2013-02-07 Thread Desimpel, Ignace
After upgrading from 1.0.8 I see that now the directory structure has changed and has a structure like keyspacecolumnfamily (part of the 1.1.x migration). But I also see that directories appear like keyspacecolumnfamily-old, and the content of that 'old' directory is only one file

Upgrade from 0.6.x to 1.2.x

2013-02-07 Thread Sergey Leschenko
Hi, all I'm trying to update our old version 0.6.5 to current 1.2.1 All nodes has been drained and stopped. Proper cassandra.yaml created, schema file prepared. Trying to start version 1.2.1 on the one node (full output attached to email): ... ERROR 11:12:44,530 Exception encountered during

Re: Why do Datastax docs recommend Java 6?

2013-02-07 Thread Peter Lin
one thing to keep in mind with zing. on the hardware side they recommend the following. minimum of 6 cores minimum of 32GB of RAM I got an open source license of zing and plan to do some testing this month comparing jdk6, jdk7 and zing. On Thu, Feb 7, 2013 at 1:45 AM, Viktor Jevdokimov

Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread Peter Lin
if i'm not mistaken, isn't this due to limitations of thrift versus binary protocol? That's my understanding from datastax blogs. unless someone really needs all the features of 1.2 like asynchronous queries, astyanax and hector should work fine. On Thu, Feb 7, 2013 at 1:20 AM, Gabriel Ciuloaica

Can't remove contents of table with truncate or drop

2013-02-07 Thread Jabbar
Hello, I'm having problems truncating or deleting the contents of a table. If I truncate the table and then do a select count(*) I get a value above zero. If I drop the table, recreate the table the select count(*) still returns a non zero value. The truncate or delete operation does not return

RE: Helenos 1.3 released

2013-02-07 Thread Tomek Kuprowski
Thanks for suggestion. This limitation will be implemented in next release ! From: as...@outlook.com To: user@cassandra.apache.org Subject: RE: Helenos 1.3 released Date: Wed, 9 Jan 2013 17:25:06 -0600 I tried Helenos 1.3. It looks pretty good. I

Re: DataModel Question

2013-02-07 Thread Edward Capriolo
Go day / phone instead of phone / day this way you won't have a rk growing forever . A comprise would be month / phone as the row key and then use the date time as the first part of a composite column. On Thursday, February 7, 2013, Kanwar Sangha kan...@mavenir.com wrote: Thanks Aaron ! My

Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread Brian O'Neill
Incidentally, we run Astyanax against 1.2.1. We haven't had any issues. When running against 1.2.0, we ran into this: https://github.com/Netflix/astyanax/issues/191 -brian --- Brian O'Neill Lead Architect, Software Development Health Market Science The Science of Better Results 2700 Horizon

Re: unbalanced ring

2013-02-07 Thread Eric Evans
On Wed, Feb 6, 2013 at 2:02 PM, stephen.m.thomp...@wellsfargo.com wrote: Thanks Aaron. I ran the cassandra-shuffle job and did a rebuild and compact on each of the nodes. [root@Config3482VM1 apache-cassandra-1.2.1]# bin/nodetool status Datacenter: 28 == Status=Up/Down

Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread Gabriel Ciuloaica
I've sen t an update earlier to be more specific that CQL3 is not properly supported by Astyanax. But I was not able to connect, because of a change into Cassandra 1.2.1, where the connection request is verified. https://issues.apache.org/jira/browse/CASSANDRA-5172 Thanks, Gabi On 2/7/13 4:54

Range Queries consistency in an inconsistent cluster.

2013-02-07 Thread Sergey Olefir
Hi, I'm somewhat lost in regards to the results I can expect from running range queries in a (temporarily) 'inconsistent' cluster (e.g. if node has been down for some time and hasn't caught up yet). Suppose I have 4 nodes in 2 DCs (cassandra 1.1.7): DCa: a1 and a2 DCb: b1 and b2 I'm using

Re: Range Queries consistency in an inconsistent cluster.

2013-02-07 Thread Edward Capriolo
Range queries do not currently read repair, although there is a ticket on this. If you want them to be consistent do them at QUORUM, or all. But in a strange quirk since get_range_slice does not repair those operations are not eventually consistent On Thu, Feb 7, 2013 at 10:20 AM, Sergey Olefir

Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread Bartłomiej Romański
Hi, Does anyone know how about virtual nodes support in Astynax? Are they handled correctly? Especially with ConnectionPoolType.TOKEN_AWARE? Thanks, BR

Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread Cassa L
Thank you all for the responses to this thread. I am planning to use Cassandra 1.1.9 with Astynax. Does anyone has Cassandra 1.x version running in production with astynax? Did you come across any show-stopper issues? Thanks LCassa On Thu, Feb 7, 2013 at 8:50 AM, Bartłomiej Romański

are CFs consistent after a repair

2013-02-07 Thread Brian Jeltema
I'm confused about consistency. I have a 6-node group (RF=3) and I have a table that was known to be inconsistent across replicas (a Hadoop app was sensitive to this). So a did a 'nodetool -pr repair' on every node in the cluster. After the repairs were complete, the Hadoop app still indicated

Re: Upgrade from 0.6.x to 1.2.x

2013-02-07 Thread Bryan Talbot
Wow, that's pretty ambitions expecting an upgrade which skips 4 major versions (0.7, 0.8, 1.0, 1.1) to work. I think you're going to have to follow the upgrade path for each of those intermediate steps and not upgrade in one big jump. -Bryan On Thu, Feb 7, 2013 at 3:41 AM, Sergey Leschenko

Cassandra jmx stats ReadCount

2013-02-07 Thread Daning Wang
We have 8 nodes cluster in Casandra 1.1.0, with replication factor is 3. We found that when you just insert data, not only WriteCount increases, the ReadCount also increases. How could this happen? I am under the impression that readCount only counts the reads from client. Thanks, Daning

Re: Cassandra 1.1.8 timeouts on clients

2013-02-07 Thread aaron morton
First check your node for IO errors. You have some bad data there. When you restart cassandra it may identify which sstables are corrupt. You can then stop the node and remove them. You will then need to run repair to replace the missing data. Hope that helps. - Aaron

Re: Directory structure after upgrading 1.0.8 to 1.2.1

2013-02-07 Thread aaron morton
the -old.json is an artefact of Levelled Compaction. You should see a non -old file in the current CF folder. I'm not sure what would have created the -old CF dir. Does the timestamp indicate it was created the time the server first started as a 1.2 node? Cheers - Aaron

Re: Can't remove contents of table with truncate or drop

2013-02-07 Thread aaron morton
Double check the truncate worked, all nodes must be available for it execute. If you can provide the output from the cqlsh from truncating and selecting that would be helpful. Cheers - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton

Re: DataModel Question

2013-02-07 Thread aaron morton
Go day / phone instead of phone / day this way you won't have a rk growing forever . Not sure I understand. +1 for month partition. When I go offline and come online again, I need to retrieve all pending messages from all my conversations. You need to have some sort of token that includes

Re: Netflix/Astynax Client for Cassandra

2013-02-07 Thread aaron morton
I'm going to guess Netflix are running Astynax in production with Cassandra 1.1. cheers - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 8/02/2013, at 6:50 AM, Cassa L lcas...@gmail.com wrote: Thank you all for the

Re: are CFs consistent after a repair

2013-02-07 Thread aaron morton
'nodetool -pr repair' Assuming nodetool repair -pr If there is no write activity all reads (at any CL level) will return the same value after a successful repair. If there is write activity there is always a possibility of inconsistencies, and so only access where R + W N (e.g. QUORUM +

Re: Why CQL returns data in byte format, while Hive de-serialize and return the data in readable format

2013-02-07 Thread Edward Capriolo
In cql3 a column must be all the same type . Since cql transposes columns the only thing they can be is byte array. Cql2 is better at compact tables in. This regard. On Thursday, February 7, 2013, Dinusha Dilrukshi wrote: Hi, We are using same underlying column family and extract the data

Cassandra/cqlsh Error: TSocket read 0 bytes

2013-02-07 Thread Adam Venturella
Has anyone encountered this before? What did I most likely break or how do I fix it?

Re: Cassandra/cqlsh Error: TSocket read 0 bytes

2013-02-07 Thread Dave Brosius
An exception occurred on the server, check the logs for the details of what happened, and post back here. On 02/07/2013 11:04 PM, Adam Venturella wrote: Has anyone encountered this before? What did I most likely break or how do I fix it?

Re: Cassandra/cqlsh Error: TSocket read 0 bytes

2013-02-07 Thread Adam Venturella
I got it. Had to run: nodetool cleanup bigmethod It was not on a production box, just a VM off my laptop for some testing. On Thu, Feb 7, 2013 at 8:22 PM, Dave Brosius dbros...@mebigfatguy.comwrote: An exception occurred on the server, check the logs for the details of what happened, and