Re: How to solve this kind of schema disagreement...

2011-08-09 Thread Dikang Gu
And a lot of "not apply" logs. DEBUG [MigrationStage:1] 2011-08-10 11:36:29,376 DefinitionsUpdateVerbHandler.java (line 70) Applying AddColumnFamily from /192.168.1.9 DEBUG [MigrationStage:1] 2011-08-10 11:36:29,376 DefinitionsUpdateVerbHandler.java (line 80) Migration not applied Previous ver

Re: How to solve this kind of schema disagreement...

2011-08-09 Thread Dikang Gu
Hi Aaron, I set the log level to be DEBUG, and find a lot of forceFlush debug info in the log: DEBUG [StreamStage:1] 2011-08-10 11:31:56,345 ColumnFamilyStore.java (line 725) forceFlush requested but everything is clean DEBUG [StreamStage:1] 2011-08-10 11:31:56,345 ColumnFamilyStore.java (line

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread Jonathan Ellis
What OS was this? On Tue, Aug 9, 2011 at 6:32 PM, ian douglas wrote: > Thanks to 'driftx' in IRC, adding this line to my cassandra.yaml file seems > to have fixed the problem: > > disk_access_mode: standard > > > > > On 08/09/2011 04:06 PM, ian douglas wrote: > > updated stack trace after fixing

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread Brandon Williams
On Tue, Aug 9, 2011 at 6:43 PM, ian douglas wrote: > Driftx on IRC: > "follow up on the list saying that disabling mmap fixed it" Which is my code for "I have no idea why this is happening, maybe someone else does" :) -Brandon

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
Driftx on IRC: "follow up on the list saying that disabling mmap fixed it" On 08/09/2011 04:32 PM, ian douglas wrote: Thanks to 'driftx' in IRC, adding this line to my cassandra.yaml file seems to have fixed the problem: disk_access_mode: standard On 08/09/2011 04:06 PM, ian douglas wrot

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
Thanks to 'driftx' in IRC, adding this line to my cassandra.yaml file seems to have fixed the problem: disk_access_mode: standard On 08/09/2011 04:06 PM, ian douglas wrote: updated stack trace after fixing the corrupted GameSave2 tables: INFO 16:05:20,314 Logging initialized INFO 16:05

Peculiar imbalance affecting 2 machines in a 6 node cluster

2011-08-09 Thread Mina Naguib
Hi everyone I'm observing a very peculiar type of imbalance and I'd appreciate any help or ideas to try. This is on cassandra 0.7.8. The original cluster was 3 machines in the DCMTL, equally balanced at 33.33% each and each holding roughly 34G. Then, I added to it 3 machines in the LA data ce

Re: 5 node cluster - Recommended seed configuration.

2011-08-09 Thread aaron morton
Also, don't use 0.7.4 use the most recent version of 0.7 or 0.8. Amongst all the other fixes this one is definitely good to have around https://github.com/apache/cassandra/blob/cassandra-0.7.8/CHANGES.txt#L58 cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http:

Re: migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
updated stack trace after fixing the corrupted GameSave2 tables: INFO 16:05:20,314 Logging initialized INFO 16:05:20,330 Heap size: 6290407424/6291456000 INFO 16:05:20,336 JNA not found. Native methods will be disabled. INFO 16:05:20,344 Loading settings from file:/data/apache-cassandra-0.

Re: [update] Cannot insert when RF>=2

2011-08-09 Thread aaron morton
As per Jonathans previous comments, the CLI defaults to using the NetworkTopologyStrategy which requires different strategy_options. See the CLI help under help create keyspace; When using the strategy_options clause you need to specify the options the strategy is expecting. From the examples i

Re: how to verify the row key is evenly distributed

2011-08-09 Thread aaron morton
If your data is not evenly distributed check the tokens in the ring with "nodetool ring" they should be evenly distributed. For background have a look at http://wiki.apache.org/cassandra/Operations#Load_balancing if they are evenly distributed there are a couple of other things to look at: - if

Re: How to solve this kind of schema disagreement...

2011-08-09 Thread aaron morton
um. There has got to be something stopping the migration from completing. Turn the logging up to DEBUG before starting and look for messages from MigrationManager.java Provide all the log messages from Migration.java on the 1.27 node Cheers - Aaron Morton Freelance Cassandra

Re: phpcassa occasional Not Found Exception

2011-08-09 Thread aaron morton
Sounds like you are doing the right thing with regard to consistency. The error is raised client side when 0 columns are returned for the request. Is there a chance that some other code is deleting the columns ? Could you add some logging around the the code to see which columns it fails on ?

SOLVED: Problem upgrading to 0.8.3 - "replication_factor is an option for SimpleStrategy, not NetworkTopologyStrategy"

2011-08-09 Thread Martin Lansler
Hi, When I upgraded from 0.8.2 to 0.8.3 I encountered a exception during startup: ... Caused by: org.apache.cassandra.config.ConfigurationException: replication_factor is an option for SimpleStrategy, not NetworkTopologyStrategy at org.apache.cassandra.locator.NetworkTopologyStrategy.(Net

Re: Reg loading of hdfs file to Cassandra

2011-08-09 Thread Jonathan Ellis
http://www.datastax.com/dev/blog/bulk-loading On Tue, Aug 9, 2011 at 1:56 PM, Thamizh wrote: > Hi, > I am newbie to Cassandra. I wanted to load a file present on HDFS to > Cassandra using M/R program. > I am using Cassandra 0.8.2 and Hadoop-0.20.2. > Kindly share me, Is there a document Or sampl

Reg loading of hdfs file to Cassandra

2011-08-09 Thread Thamizh
Hi, I am newbie to Cassandra. I wanted to load a file present on HDFS to Cassandra using M/R program. I am using Cassandra 0.8.2 and Hadoop-0.20.2. Kindly share me, Is there a document Or sample code available for this? Regards, Thamizh

migrating from 0.6 to 0.8, "java.io.IOError: ... cannot extend file to required size"

2011-08-09 Thread ian douglas
Hey all, Thanks to thobbs_ patience in IRC this morning, I got the last of my questions answered about migrating from v0.6 to v0.8. My cassandra.yaml is mostly stock out of the box other than IP's, ports (I'm running v0.6 on my workstation at the same time as v0.8), and our cluster name. I u

IndexSliceQuery issue - ReadStage piling up (looks like deadlock/infinite loop or similar)

2011-08-09 Thread Roland Gude
Hi, I experience issues when doing a indexslicequery with multiple expressions if one of the expressions is about a non index column I did the equivalent of this example (but with my data) from http://www.datastax.com/dev/blog/whats-new-cassandra-07-secondary-indexes Secondary indexes automate

Re: 5 node cluster - Recommended seed configuration.

2011-08-09 Thread Evgeniy Ryabitskiy
Thanks a lot! Maybe this should be placed at Cassandra FAQ. http://wiki.apache.org/cassandra/FAQ#seed has less information. -- Evgeniy Ryabitskiy

Re: 5 node cluster - Recommended seed configuration.

2011-08-09 Thread Edward Capriolo
On Tue, Aug 9, 2011 at 10:07 AM, Evgeniy Ryabitskiy < evgeniy.ryabits...@wikimart.ru> wrote: > > Rule of thumb, you should identify two servers in the cluster to be your >> seed nodes. >> >> >> > > Is this rule same for N node cluster? Any common practice/formula for seed > number? > Going to use

Re: 5 node cluster - Recommended seed configuration.

2011-08-09 Thread Evgeniy Ryabitskiy
> Rule of thumb, you should identify two servers in the cluster to be your > seed nodes. > > > Is this rule same for N node cluster? Any common practice/formula for seed number? Going to use about 10 nodes and extend it in a future. -- Evgeniy Ryabitskiy

RE: Trying to find the problem with a broken pipe

2011-08-09 Thread Tim Snyder
Anthony, All I can say is that the steps I outlined below fixed my problem and allowed me to process 60 million rows of data. Tim Original Message Subject: Re: Trying to find the problem with a broken pipe From: Anthony Ikeda Date: Tue, August 09, 2011 3:11 am To: user@cassa

Re: 5 node cluster - Recommended seed configuration.

2011-08-09 Thread Selva Kumar
Thanks Samal From: samal To: user@cassandra.apache.org; Selva Kumar Sent: Tuesday, August 9, 2011 12:23 AM Subject: Re: 5 node cluster - Recommended seed configuration. It is recommended that seed list should be same in all server so all server on same state

Re: Enormous counter problem?

2011-08-09 Thread Boris Yen
ticket opened, https://issues.apache.org/jira/browse/CASSANDRA-3006 On Tue, Aug 9, 2011 at 5:38 PM, Boris Yen wrote: > Actually, I reproduced this on 0.8.3, so it seems to me that it is not > fixed yet. > > Boris > > > On Tue, Aug 9, 2011 at 5:32 PM, Sylvain Lebresne wrote: > >> Yes, if you can

Re: Enormous counter problem?

2011-08-09 Thread Boris Yen
Actually, I reproduced this on 0.8.3, so it seems to me that it is not fixed yet. Boris On Tue, Aug 9, 2011 at 5:32 PM, Sylvain Lebresne wrote: > Yes, if you can reproduce easily, please see if 0.8.3 fixes it for by > any chance. > Otherwise, please open a JIRA ticket with as much info on how to

Re: Enormous counter problem?

2011-08-09 Thread Sylvain Lebresne
Yes, if you can reproduce easily, please see if 0.8.3 fixes it for by any chance. Otherwise, please open a JIRA ticket with as much info on how to reproduce. -- Sylvain On Tue, Aug 9, 2011 at 11:04 AM, Andrii Denysenko wrote: > Try 0.8.3 > They fixed https://issues.apache.org/jira/browse/CASSAND

Re: Enormous counter problem?

2011-08-09 Thread Andrii Denysenko
Try 0.8.3 They fixed https://issues.apache.org/jira/browse/CASSANDRA-2968 - and this produced erroneous records for counters. Not sure this is exactly yours, but similar. On Tue, Aug 9, 2011 at 5:28 AM, Boris Yen wrote: > Hi, > > I am not sure if this is a bug or we use the counter the wrong way