question about updates internal work in case of cache

2012-04-23 Thread DE VITO Dominique
Hi, Let's suppose a column (name+value) is cached in memory, with timestamp T. 1) An update, for this column, arrives with exactly the *same* timestamp, and the *same* value. Is the commitlog updated ? 2) An update, for this column, arrives with a timestamp T. Is the commitlog updated ?

Re: question about updates internal work in case of cache

2012-04-23 Thread Sylvain Lebresne
On Mon, Apr 23, 2012 at 10:19 AM, DE VITO Dominique dominique.dev...@thalesgroup.com wrote: Hi, Let's suppose a column (name+value) is cached in memory, with timestamp T. 1) An update, for this column, arrives with exactly the *same* timestamp, and the *same* value. Is the commitlog

Re: Two Random Ports in Private port range

2012-04-23 Thread aaron morton
If you've seen Lord of the Rings and can remember the scene where Frodo has to pass the spider you will be well equipped to understand JMX ports. The ports are randomly opened… A common problem with RMI and firewall is that the JMX default agent will not let you specify which port to use to

Re: Help with Wide Rows with CounterColumns

2012-04-23 Thread aaron morton
No. CounterColumnType only works with column values, which are not sorted. Sorting counters while they are being updated is potentially very expensive. You have a few options: 1) If the list of counters is short (say 100 columns) get all the columns and sort client side. 2) Run a periodic

Re: nodetool decommission hangs

2012-04-23 Thread aaron morton
You can check the streaming progress with nodetool netstats. That will tell you what it thinks it is moving. nodetool ring will also tell you what state the nodes are in. That said, this looks a little suspicious… INFO [StreamStage:1] 2012-04-21 11:07:45,262 StreamOut.java (line 160)

Re: repair strange behavior

2012-04-23 Thread aaron morton
What is strange - when streams for the second repair starts they have the same or even bigger total volume, What measure are you using ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 22/04/2012, at 10:16 PM, Igor wrote: but after

Bad Request: No indexed columns present in by-columns clause with equals operator

2012-04-23 Thread mdione.ext
I understand the error message, but I don't understand why I get it. Here's the CF: cqlsh:avatars describe columnfamily HBX_FILE; CREATE COLUMNFAMILY HBX_FILE ( KEY blob PRIMARY KEY, HBX_FIL_DATE text, HBX_FIL_LARGE ascii, HBX_FIL_MEDIUM ascii, HBX_FIL_SMALL ascii, HBX_FIL_STATUS

auto-generate data

2012-04-23 Thread puneet loya
Can we auto-generate random data in cassandra? Thanks and Regaads, Puneet

Re: Bad Request: No indexed columns present in by-columns clause with equals operator

2012-04-23 Thread Dave Brosius
Works for me on trunk... what version are you using? On 04/23/2012 08:39 AM, mdione@orange.com wrote: I understand the error message, but I don't understand why I get it. Here's the CF: cqlsh:avatars describe columnfamily HBX_FILE; CREATE COLUMNFAMILY HBX_FILE ( KEY blob PRIMARY

RE: Bad Request: No indexed columns present in by-columns clause with equals operator

2012-04-23 Thread mdione.ext
De : Dave Brosius [mailto:dbros...@mebigfatguy.com] Works for me on trunk... what version are you using? Beh, I forgot that detail: 1.0.9. -- Marcos Dione SysAdmin Astek Sud-Est pour FT/TGPF/OPF/PORTAIL/DOP/HEBEX @ Marco Polo 04 97 12 62 45 - mdione@orange.com

RE: Bad Request: No indexed columns present in by-columns clause with equals operator

2012-04-23 Thread mdione.ext
De : mdione@orange.com [mailto:mdione@orange.com] De : Dave Brosius [mailto:dbros...@mebigfatguy.com] Works for me on trunk... what version are you using? Beh, I forgot that detail: 1.0.9. I also forgot to mention: the index was recently created, after the database was

Failing to delete commitlog at startup/shutdown (Windows)

2012-04-23 Thread Conan Cook
Hi, I'm experiencing a problem running a suite of integration tests on Windows 7, using Cassandra 1.0.9 and Java 1.6.0_31. A new cassandra instance is spun up for each test class and shut down afterwards, using the Maven Failsafe plugin. The problem is that the Commitlog file seems to be kept

Re: Failing to delete commitlog at startup/shutdown (Windows)

2012-04-23 Thread Steve Neely
We used a modified version of Ran's embedded Cassandra for a while: http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/which worked well for us. You have way more control over that. Recently, we switched to having a single Cassandra installation that runs all the time. Kind

cassandra.input.split.size and number of mappers

2012-04-23 Thread Filippo Diotalevi
Hi, I'm finding very difficult to try to understand how Hadoop and Cassandra (CDH3u3 and 1.0.8 respectively) splits the work between mappers. The thing that confuses me is that, for any value of cassandra.input.split.size I set, I always get 1 (at most 2) mapper per node. I'm trying to debug

High latency of cassandra

2012-04-23 Thread 马超
Hi all, I have some troubles of cassandra in my production: I build up a RPC server which using hector client to manipulate the cassandra. Wired things happen nowadays: the latency of RPC sometimes becames very high (10seconds~70seconds) in several minutes and reduce to normal level (30ms in

Re: auto-generate data

2012-04-23 Thread Tyler Hobbs
Yes, use the stress tool: http://www.datastax.com/docs/1.0/references/stress_java On Mon, Apr 23, 2012 at 8:25 AM, puneet loya puneetl...@gmail.com wrote: Can we auto-generate random data in cassandra? Thanks and Regaads, Puneet -- Tyler Hobbs DataStax http://datastax.com/

Cassandra dying when gets many deletes

2012-04-23 Thread crypto five
Hi, I have 50 millions of rows in column family on 4G RAM box. I allocatedf 2GB to cassandra. I have program which is traversing this CF and cleaning some data there, it generates about 20k delete statements per second. After about of 3 millions deletions cassandra stops responding to queries: it

Re: Kundera 2.0.6 Released

2012-04-23 Thread Codevally
Thanks guys for the all hard working. Special thanks to Vivek and Amresh. Finally we are integrating Kundera to our production codes and they will go live very soon. Best Regards /Roshan. On Saturday, April 21, 2012 8:08:18 AM UTC+10, Kundera Team wrote: Hi All, We are happy to announce

Re: Cassandra dying when gets many deletes

2012-04-23 Thread Віталій Тимчишин
See https://issues.apache.org/jira/browse/CASSANDRA-3741 I did post a fix there that helped me. 2012/4/24 crypto five cryptof...@gmail.com Hi, I have 50 millions of rows in column family on 4G RAM box. I allocatedf 2GB to cassandra. I have program which is traversing this CF and cleaning