rolling restart after gc_grace change

2012-01-09 Thread Igor
Hi! On the http://wiki.apache.org/cassandra/Operations#Dealing_with_the_consequences_of_nodetool_repair_not_running_within_GCGraceSeconds you can read: "To minimize the amount of forgotten deletes, first increase GCGraceSeconds across the cluster (rolling restart required)" Rolling restart

Re: Lots and Lots of CompactionReducer Threads

2012-01-09 Thread aaron morton
Thanks, good work. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 9/01/2012, at 1:25 PM, Caleb Rackliffe wrote: > After some searching, I think I may have found something in the code itself, > and so I've filed a big report - > https://

Re: [0.8.x] Node join stuck with all network transfers done

2012-01-09 Thread aaron morton
Check the logs on .17 for errors. Also see what the most recent messages are. There should be messages about streams completing and messages about compaction running. The bootstrapping node needs to build the tables for the data it has received. This is done in the compaction manager, but 836

Re: rolling restart after gc_grace change

2012-01-09 Thread aaron morton
Nah, thats old style. gc_grace_seconds is a CF level setting now. Make the change with update column family in the CLI or your favorite client. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 9/01/2012, at 9:33 PM, Igor wrote: > Hi! >

Schema clone ...

2012-01-09 Thread cbert...@libero.it
Hi, I have create a new dev-cluster with cassandra 1.0 -- I would like to have the same CFs that I have in the 0.7 one but I don't need data to be there, just the schema. Which is the fastest way to do it without making 30 "create column family ..." Best regards, Carlo

Re: Schema clone ...

2012-01-09 Thread aaron morton
Try show schema in the CLI. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 9/01/2012, at 11:12 PM, cbert...@libero.it wrote: > Hi, > I have create a new dev-cluster with cassandra 1.0 -- I would like to have > the > same CFs that I have

Re: Schema clone ...

2012-01-09 Thread aaron morton
ah, sorry brain not good work. It's only in 0.8. You could either: * write the CLI script by hand or * Grab the system sstables from one of the 0.7 nodes and spin up a temp 1.0 machine them, then use the command. or * See if your cassandra client software can help. Hope that helps. ---

R: Re: Schema clone ...

2012-01-09 Thread cbert...@libero.it
I was just trying it but ... in 0.7 CLI there is no show schema command.When I connect with 1.0 CLI to my 0.7 cluster ... [default@social] show schema;null I always get a "null" as answer! :-|Any tip for this? ty, Cheers Carlo Messaggio originale Da: aa...@thelastpickle.com Data: 09

Re: Re: Schema clone ...

2012-01-09 Thread R. Verlangen
A "null" response is most of the times an exception, try to take a look at the Cassandra logs to find out what causes the problem. 2012/1/9 cbert...@libero.it > I was just trying it but ... in 0.7 CLI there is no show schema command. > > When I connect with 1.0 CLI to my 0.7 cluster ... > > > [d

Re: Can I use BulkOutputFormat from 1.1 to load data to older Cassandra versions?

2012-01-09 Thread Brandon Williams
On Mon, Jan 9, 2012 at 1:18 AM, Erik Forsberg wrote: > Hi! > > Can the new BulkOutputFormat > (https://issues.apache.org/jira/browse/CASSANDRA-3045) be used to load data > to servers running cassandra 0.8.7 and/or Cassandra 1.0.6? > > I'm thinking of using jar files from the development version to

Cassandra on heterogeneous servers

2012-01-09 Thread Daniel Bruegge
Hi, I am currently running 4 cassandra nodes with the following hardware - AMD Athlon 64 X2 6000+ - 8G RAM - 750G hard disk It shows not such a good writing performance and a really bad read performance with sometimes also timeouts. I was wondering if it makes sense to add 2 nodes with a differe

Copy a column family?

2012-01-09 Thread Brian O'Neill
What is the fastest way to copy a column family? We were headed down the map/reduce path, but that seems silly. Any file level mechanisms for this? -brian -- Brian ONeill Lead Architect, Health Market Science (http://healthmarketscience.com) mobile:215.588.6024 blog: http://weblogs.java.net/blog

Re: Copy a column family?

2012-01-09 Thread Brandon Williams
On Mon, Jan 9, 2012 at 9:14 AM, Brian O'Neill wrote: > > What is the fastest way to copy a column family? > We were headed down the map/reduce path, but that seems silly. > Any file level mechanisms for this? Copy all the sstables 1:1 renaming them to the new CF name. Then create the schema for

Re: Copy a column family?

2012-01-09 Thread Brian O'Neill
Excellent. We'll give it a try. Thanks Brandon. -brian Brian O'Neill Lead Architect, Software Development Health Market Science | 2700 Horizon Drive | King of Prussia, PA 19406 p: 215.588.6024blog: http://weblogs.java.net/blog/boneill42/ blog: http://brianoneill.blogspot.com/ On 1/9

Re: Copy a column family?

2012-01-09 Thread Philippe
Would this apply to copying data from one cluster to another, assuming I do a rolling drain and shutdown ? Thanks Le 9 janv. 2012 16:32, "Brandon Williams" a écrit : > On Mon, Jan 9, 2012 at 9:14 AM, Brian O'Neill > wrote: > > > > What is the fastest way to copy a column family? > > We were head

Re: Copy a column family?

2012-01-09 Thread Brandon Williams
On Mon, Jan 9, 2012 at 11:34 AM, Philippe wrote: > Would this apply to copying data from one cluster to another, assuming I do > a rolling drain and shutdown ? > Thanks Only if the tokens also match 1:1 and you copy to the same tokens. If they don't match, the easiest thing to do is use the bulk

Unsubscribe

2012-01-09 Thread ko...@vivinavi.com

Re: Cassandra on heterogeneous servers

2012-01-09 Thread aaron morton
> Or does a cassandra cluster works best with the same > hardware in every node? Things work best if the nodes all have the same HW. If you mix HW then you need to capacity plan against a machine made up of all of the lowest performing parts. What's happening with the poor performance ? Poke

Re: [0.8.x] Node join stuck with all network transfers done

2012-01-09 Thread Mateusz Korniak
On Monday 09 of January 2012, aaron morton wrote: > (...) Is there a reason you are not adding 0.8.9 ? Only my mistake, I repeated procedure with 0.8.9 node joining and now, after finishing net transfers, node was busy compacting, finally switching to "Normal" state. > Check the logs on .17 fo

Re: Is this correct way to create a Composite Type

2012-01-09 Thread investtr
On 01/08/2012 03:43 PM, aaron morton wrote: The reason I asked was because I could not understand <>Follower_For_Users <>#{"userID",n}:"followerID" I found about Composite Types and I am trying to solve a situation like using composite. Also I read that Cassandra columns can save upto 2 bil

Re: Integration Error between Cassandra and Eclipse

2012-01-09 Thread Maki Watanabe
Binary package doesn't include source code, which you need to run cassandra in Eclipse. If you want to run cassandra in Eclipse, you need to download Source package OR git repository, and then integrate it with Eclipse. If you just want to run cassandra, you don't need to checkout source. To clone