Re: Secondary indexes and drop column family

2011-08-05 Thread Jonathan Ellis
Upgrade. https://issues.apache.org/jira/browse/CASSANDRA-2320 On Fri, Aug 5, 2011 at 6:58 PM, Aurynn Shaw wrote: > Answered my own question; a snapshot gets taken when you drop a CF, per: > > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-take-a-snapshot-after-a-column

Re: Schema Disagreement

2011-08-05 Thread Yi Yang
Thanks Aaron. On Aug 2, 2011, at 3:04 AM, aaron morton wrote: > Hang on, using brain now. > > That is triggering a small bug in the code see > https://issues.apache.org/jira/browse/CASSANDRA-2984 > > For not just remove the column meta data. > > Cheers > > - > Aaron Morton >

Re: Schema Disagreement

2011-08-05 Thread Yi Yang
Thanks Jonathan. On Aug 2, 2011, at 8:28 PM, Jonathan Ellis wrote: > Have you seen http://wiki.apache.org/cassandra/FAQ#schema_disagreement ? > > On Tue, Aug 2, 2011 at 10:25 PM, Dikang Gu wrote: >> I also encounter the schema disagreement in my 0.8.1 cluster today… >> >> The disagreement occ

column metadata and sstable

2011-08-05 Thread Yi Yang
Dear all, I'm wondering what's the advantage of assigning column metadata when NOT using secondary indices. I've gone through the SSTable internal and found out it won't do such conversion.Thus I think the only advantage we got via column metadata is a data validation type, am I correct?

Re: Secondary indexes and drop column family

2011-08-05 Thread Aurynn Shaw
Answered my own question; a snapshot gets taken when you drop a CF, per: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-take-a-snapshot-after-a-column-family-update-td6222772.html So, I can recover to a known-good working position, and delete my indices properly. T

Re: create column family or keyspace returns null

2011-08-05 Thread myreasoner
That does the trick. Thanks. I should've read FAQ more thoroughly. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/create-column-family-or-keyspace-returns-null-tp6658215p6658464.html Sent from the cassandra-u...@incubator.apache.org mailing lis

Secondary indexes and drop column family

2011-08-05 Thread Aurynn Shaw
Hey all; So, I've managed to get myself into a position where I'm not sure how to recover. I have a column family that I was a significant number of secondary indexes on. Some buggy code created a bunch of useless indexes accidentally, and I took what (at the time) seemed the most obvious pa

Re: create column family or keyspace returns null

2011-08-05 Thread Jonathan Ellis
Then you should read http://wiki.apache.org/cassandra/FAQ#schema_disagreement On Fri, Aug 5, 2011 at 5:31 PM, myreasoner wrote: > I restarted the cluster a couple of times.  But the error message > > ERROR [HintedHandoff:4] 2011-08-05 16:42:30,893 AbstractCassandraDaemon.java > (line 139) Fatal e

Dropped messages

2011-08-05 Thread Philippe
Hi, I see lines like this in my log file INFO [ScheduledTasks:1] 2011-08-06 00:51:57,650 MessagingService.java (line 586) 358 MUTATION messages dropped in server lifetime INFO [ScheduledTasks:1] 2011-08-06 00:51:57,658 MessagingService.java (line 586) 297 READ messages dropped in server lifetime

Re: create column family or keyspace returns null

2011-08-05 Thread myreasoner
I restarted the cluster a couple of times. But the error message ERROR [HintedHandoff:4] 2011-08-05 16:42:30,893 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[HintedHandoff:4,1,main] keeps on coming back. And I still can't create any column family or keyspace. -- Vie

Re: create column family or keyspace returns null

2011-08-05 Thread Jonathan Ellis
Probably. 0.8.3 will be out shortly with a "real" fix. In the meantime, restarting the node(s) logging schema disagreement should work around the problem. On Fri, Aug 5, 2011 at 4:57 PM, myreasoner wrote: > I got a 5-node cluster running on 0.8.2.  From the system log I'm seeing the > exact pro

create column family or keyspace returns null

2011-08-05 Thread myreasoner
I got a 5-node cluster running on 0.8.2. From the system log I'm seeing the exact problem reported in https://issues.apache.org/jira/browse/CASSANDRA-2946. And any "create column family xyz" returns null. Is it related to CASSANDRA-2946? -- View this message in context: http://cassandra-user-i

Re: Cloudera repo down?

2011-08-05 Thread Jeremy Hanna
It won't be required in the future: https://issues.apache.org/jira/browse/CASSANDRA-2998 On Aug 5, 2011, at 1:34 PM, Martin Lansler wrote: > It solved itself as the cloudera repo is up again now... > > -Martin > > On Fri, Aug 5, 2011 at 12:06 PM, Martin Lansler > wrote: >> Hi, >> >> I'm tryin

Re: no stack trace :(

2011-08-05 Thread Dean Hiller
nope, just one and then it exits and quits(won't start up) and I can't compile the code since the repository is down :( I am working on web-tier setup and will come back hoping the cloudera repository goes back online in the next day.(crossing my fingers). Dean On Fri, Aug 5, 2011 at 12:07 PM, m

Re: Cloudera repo down?

2011-08-05 Thread Martin Lansler
It solved itself as the cloudera repo is up again now... -Martin On Fri, Aug 5, 2011 at 12:06 PM, Martin Lansler wrote: > Hi, > > I'm trying to get an eclipse env for cassandra using the ANT scripts. > However they fail to retrieve the hadoop dependencies from cloudera: > >> ant generate-eclipse

Re: no stack trace :(

2011-08-05 Thread mcasandra
Are you seeing lot of these errors? Can you try XX:-OmitStackTraceInFastThrow -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/no-stack-trace-tp6654590p6657485.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.c

RE: Solandra

2011-08-05 Thread Saket Joshi
HI Eldad, You can find the answers inline 1. How can I install Solandra and make use the existing nodes? download the source from git hub and build locally ( just run "ant" on source directory) the build creates a folder "solandra-app", which contains bin,conf, lib. The bin dir is the o

Re: cassandra 0.8.2 build failure (missing 2 artifacts)

2011-08-05 Thread Jeremy Hanna
That is something we have to update, thanks for mentioning that. We should just be depending on apache hadoop components now that we are no longer supporting hadoop output streaming. On Aug 5, 2011, at 10:27 AM, Dean Hiller wrote: > oh, cloudera repo is down like a previous poster just said...

Re: cassandra 0.8.2 build failure (missing 2 artifacts)

2011-08-05 Thread Dean Hiller
oh, cloudera repo is down like a previous poster just said..ugh. Dean On Fri, Aug 5, 2011 at 9:22 AM, Dean Hiller wrote: > Anyone else have trouble building 0.8.2??? > > Path to dependency: > 1) org.apache.cassandra:cassandra-build-deps:jar:0.8.2-SNAPSHOT > 2) com.clou

cassandra 0.8.2 build failure (missing 2 artifacts)

2011-08-05 Thread Dean Hiller
Anyone else have trouble building 0.8.2??? Path to dependency: 1) org.apache.cassandra:cassandra-build-deps:jar:0.8.2-SNAPSHOT 2) com.cloudera.hadoop:hadoop-streaming:jar:0.20.2-320 -- 2 required artifacts are missing. for artifact: org.apache.cassandra:cassandra-

Re: no stack trace :(

2011-08-05 Thread Dean Hiller
sorry, I forgot to mention, I did set that value to my ip 10.0.1.10 and it gave the same failure :( .downloading the source code now :( but if anyone knows any other info, let me know. thanks, Dean On Fri, Aug 5, 2011 at 12:12 AM, Hartog C. de Mik wrote: > On Thu, Aug 04, 2011 at 05:02:18PM -

Re: Compacting large row

2011-08-05 Thread Jonathan Ellis
It's logging the actual key, not the md5. It's just converting the key bytes to hex first to make sure it's printable. On Fri, Aug 5, 2011 at 2:16 AM, Patrik Modesto wrote: > Hi, > > I got several "Compacting large row ..." messages while runinng a > compaction. Is there any way to get the row t

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

2011-08-05 Thread Benoit Perroud
Based on http://wiki.apache.org/cassandra/FAQ#schema_disagreement, 75eece10-bf48-11e0--4d205df954a7 own the majority, so shutdown and remove the schema* and migration* sstables from both 192.168.1.28 and 192.168.1.27 2011/8/5 Dikang Gu : > [default@unknown] describe cluster; > Cluster Informa

How to solve this kind of schema disagreement...

2011-08-05 Thread Dikang Gu
[default@unknown] describe cluster; Cluster Information: Snitch: org.apache.cassandra.locator.SimpleSnitch Partitioner: org.apache.cassandra.dht.RandomPartitioner Schema versions: 743fe590-bf48-11e0--4d205df954a7: [192.168.1.28] 75eece10-bf48-11e0--4d205df954a7: [192.168.1.9, 192.1

Cloudera repo down?

2011-08-05 Thread Martin Lansler
Hi, I'm trying to get an eclipse env for cassandra using the ANT scripts. However they fail to retrieve the hadoop dependencies from cloudera: > ant generate-eclipse-files ... BUILD FAILED /Users/martin/src/org.apache/cassandra/build.xml:522: Unable to resolve artifact: Missing: -- 1) com

Re: transaction principle between multiple column families

2011-08-05 Thread Jérémy SEVELLEC
Hi Aaron, Thank's for your answer. In my case, insertions on my multiple CF's are not on the same key. I've ever read the presentation you advise to me and i think that write transaction log in a special CF is the track i will follow to try to solve my problem. Cheers, 2011/8/5 aaron morton

Re: move one node for load re-balancing then it status stuck at "Leaving"

2011-08-05 Thread Yan Chunlu
nothing... nodetool -h node3 netstats Mode: Normal Not sending any streams. Nothing streaming from /10.28.53.11 Pool NameActive Pending Completed Commandsn/a 0 186669475 Responses n/a 0 117986130

Compacting large row

2011-08-05 Thread Patrik Modesto
Hi, I got several "Compacting large row ..." messages while runinng a compaction. Is there any way to get the row to see it? I know it's MD5 but it's MD5 of a key and I need the key to get to the row. The sstable is really huge so dump is not an option. Using Cassandra 0.7.8 Regards, P.