Re: Range Queries consistency in an inconsistent cluster.

2013-02-08 Thread Sergey Olefir
So you're basically saying that read consistency levels do affect range queries? With high enough level I should be able to get the 'correct' data regardless of some node(s) being behind-the-times? My first read through https://issues.apache.org/jira/browse/CASSANDRA-967 left me with impression th

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

2013-02-08 Thread Dinusha Dilrukshi
[1] If we insert the data using CQL and retrieve using CQL then it returns readable data. (not byte type). [2] If we insert the data using hive query and retrieve using hive query, it also returns readable data. (not byte type.) [3] Only if we insert data using hive query and then retrieve the data

RE: Directory structure after upgrading 1.0.8 to 1.2.1

2013-02-08 Thread Desimpel, Ignace
Yes it are new directories. I did some debugging ... The Cassandra code is org.apache.cassandra.db.Directories::migrateFile. It is detecting that it is a manifest (based on the .json extension). But then it does not take in account that something like can exist. Then it is using as a directory

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

2013-02-08 Thread Jabbar
Aaron, Everytime after I ran the truncate I did select count(*) from datapoints; and a non zero value was returned. I never got any errors after the truncate. All the nodes seem to be available as I was connected to all the servers via ssh and ran cassandra using ./cassandra -f I had to do som

Re: Upgrade from 0.6.x to 1.2.x

2013-02-08 Thread Sergey Leschenko
On Thu, Feb 7, 2013 at 9:07 PM, Bryan Talbot wrote: > Wow, that's pretty ambitions expecting an upgrade which skips 4 major > versions (0.7, 0.8, 1.0, 1.1) to work. It seems to work after all, at least data saved in 0.6.x is accessible via 1.2.1 version on my test installation. > I think you're

Re: High read latency cluster

2013-02-08 Thread Edward Capriolo
300 GB is a lot of data for cloud machines (especially with their weaker performance in general). If you are unhappy with performance why not scale the cluster out to more servers, with that much data you are usually contending with the physics of spinning disks. Three nodes + replication factor 3

Re: Upgrade from 0.6.x to 1.2.x

2013-02-08 Thread Edward Capriolo
We did this along time ago. Besides the upgrade, the issue is that the thrift clients are completely incompatible between 0.6.x and 0.7.x thus you will have to coordinate a software release with clients as well as the Cassandra update. On Fri, Feb 8, 2013 at 8:33 AM, Sergey Leschenko wrote: > On

Re: are CFs consistent after a repair

2013-02-08 Thread Brian Jeltema
I'm afraid I can't investigate further; enough time has elapsed that it appears the inconsistencies have worked their way out of the cluster. On Feb 7, 2013, at 9:25 PM, aaron morton wrote: >> 'nodetool -pr repair' > Assuming nodetool repair -pr > > If there is no write activity all reads (a

Is C* common nickname for Cassandra?

2013-02-08 Thread Boris Solovyov
I see people refer to C* and I assume it mean Cassandra, but just wanted to check for sure. In case it is somethings else and I miss it :) Do I right understand?

Re: Is C* common nickname for Cassandra?

2013-02-08 Thread Tyler Hobbs
Yes, C* is short for Cassandra. On Fri, Feb 8, 2013 at 10:43 AM, Boris Solovyov wrote: > I see people refer to C* and I assume it mean Cassandra, but just wanted > to check for sure. In case it is somethings else and I miss it :) Do I > right understand? > -- Tyler Hobbs DataStax

Re: High read latency cluster

2013-02-08 Thread Bill de hÓra
> FlushWriter 0 0 8252 0 >299 If you are not suffering from gc pressure/pauses (possibly not, because you don't seem to have a lot of read failures in tpstats or outlier latency on the histograms), then the flush writer errors are s

Re: Cassandra libraries for Golang

2013-02-08 Thread Edward Capriolo
AFAIK there is currently only a single language that supports the native transport Java. Go can link to c / c++ libraries. Yes no? If yes then leveraging a thrift's c generated code or whatever c libraries exist might be an option. On Fri, Feb 8, 2013 at 11:40 AM, Boris Solovyov wrote: > Hi, > >

Titan/Cassandra Keyspace simply disappears

2013-02-08 Thread Ron Siemens
Just had something odd happen - my keyspace disappeared. I'm curious if anyone has seen the same or may have an explanation. I am using Titan 0.2.0 and Cassandra 1.1.6. I ran my application which creates a graph and progressively builds it for a couple of hours. But before completing, Cassa

Healthy JVM GC

2013-02-08 Thread André Cruz
Hello. I've noticed I get the frequent JVM warning in the logs about the heap being full: WARN [ScheduledTasks:1] 2013-02-08 18:14:20,410 GCInspector.java (line 145) Heap is 0.731554347747841 full. You may need to reduce memtable and/or cache sizes. Cassandra will now flush up to the two la

UNSUBSCRIBE

2013-02-08 Thread Rudy Jahchan
-- Rudy Jahchan

Re: [Aurelius] Titan/Cassandra Keyspace simply disappears

2013-02-08 Thread Ron Siemens
There is this curiosity in the cassandra log: can this happen as part of cassandra's processing, or does this mean the drop command was issued? I left work well before this, hoping my graph would be ready this morning. I'm also the only user of Cassandra here. At least, I'm supposed to be th

Re: UNSUBSCRIBE

2013-02-08 Thread Michael Kjellman
Sigh. Google please On Feb 8, 2013, at 11:00 AM, "Rudy Jahchan" wrote: > > > -- > Rudy Jahchan >

Re: [Aurelius] Titan/Cassandra Keyspace simply disappears

2013-02-08 Thread Edward Capriolo
Clearly this illustrates someone requested the keyspace would be dropped. Likely more of a titan issue then a cassandra one. On Fri, Feb 8, 2013 at 2:03 PM, Ron Siemens wrote: > > There is this curiosity in the cassandra log: can this happen as part of > cassandra's processing, or does this mean

How to change the tokens?

2013-02-08 Thread S C
I am trying to change the token of the Cassandra node but it is using a saved token. I have tried "-Dcassandra.load_ring_state=false" in the startup script but did not find it useful. Any thoughts? Thanks,SC

Re: How to change the tokens?

2013-02-08 Thread Michael Kjellman
You need to move the node to the new token you would like. Take care to only do one move operation at a time in the ring and also do a repair –pr and cleanup after the move operation. See nodetool move for more information Best, michael From: S C mailto:as...@outlook.com>> Reply-To: "user@cass

RE: How to change the tokens?

2013-02-08 Thread S C
I have a scenario where I have to swap the tokens of the two nodes in a three node cluster. Thanks,SC From: mkjell...@barracuda.com To: user@cassandra.apache.org Date: Fri, 8 Feb 2013 18:57:07 -0800 Subject: Re: How to change the tokens? You need to move the node to the new token you would li

Re: How to change the tokens?

2013-02-08 Thread Michael Kjellman
Not sure why you would need to do that...And regardless you will need to move the data to change the tokens. On Feb 8, 2013, at 7:01 PM, "S C" mailto:as...@outlook.com>> wrote: I have a scenario where I have to swap the tokens of the two nodes in a three node cluster. Thanks, SC ___