Re: Anyway To Query Just The Partition Key?

2013-04-22 Thread Sylvain Lebresne
What you want is https://issues.apache.org/jira/browse/CASSANDRA-4536 I believe. On Sat, Apr 13, 2013 at 8:16 PM, Gareth Collins gareth.o.coll...@gmail.comwrote: Edward, Thanks for the response. This is what I thought. The only reason why I am doing it like this is that I don't know these

Re: Thrift message length exceeded

2013-04-22 Thread Oleksandr Petrov
I've submitted a patch that fixes the issue for 1.2.3: https://issues.apache.org/jira/browse/CASSANDRA-5504 Maybe guys know a better way to fix it, but that helped me in a meanwhile. On Mon, Apr 22, 2013 at 1:44 AM, Oleksandr Petrov oleksandr.pet...@gmail.com wrote: If you're using Cassandra

Re: com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-22 Thread Internet Group
It seems to me that you are not saying the keyspace of your column family 'profile'. Regards, Francisco. On Apr 20, 2013, at 9:56 PM, Techy Teck comptechge...@gmail.com wrote: I created my column family like this from the CLI- create column family profile with key_validation_class =

loading all rows from cassandra using multiple (python) clients in parallel

2013-04-22 Thread John R. Frank
Cassandra Experts, I understand that when using Cassandra's recommended RandomPartitioner (or Murmur3Partitioner), it is not possible to do meaningful range queries on keys, because the rows are distributed around the cluster using the md5 hash of the key. These hashes are called tokens.

Re: Moving cluster

2013-04-22 Thread Kais Ahmed
Yes Mike, this is what I meant when I spoke about the two solutions :) Thank you to all, 2013/4/21 Michael Theroux mthero...@yahoo.com I believe the two solutions that are being referred to is the lift and shift vs. upgrading by replacing a node and letting it restore from the cluster. I

Re: Unable to drop secondary index

2013-04-22 Thread Michal Michalski
W dniu 21.04.2013 22:17, aaron morton pisze: This is a tricky one to diagnose remotely. I could try using nodetool resetlocalschema on each node, it's just wild guess incase there is something odd one one node. I've run it on one node (let's call it A) and it finished without any problems.

Re: Unable to drop secondary index

2013-04-22 Thread Michal Michalski
Missing keyspace has reappeared on node B after restart, but it seems to behave like node A. It starts, GC goes wild, I can see this: INFO [ScheduledTasks:1] 2013-04-22 15:20:52,701 GCInspector.java (line 119) GC for ParNew: 646 ms for 1 collections, 6314013024 used; max is 8506048512 INFO

ordered partitioner

2013-04-22 Thread Desimpel, Ignace
Hi, I was trying to implement my own ordered partitioner and got into problems. The current DecoratedKey is using a ByteBufferUtil.compareUnsigned for comparing the key. I was thinking of having a signed comparison, so I thought of making my own DecoratedKey, Token and Partitioner. That way I

Cassandra + Hadoop - 2 Task attempts with million of rows

2013-04-22 Thread Shamim
Hello all,   recently we have upgrade our cluster (6 nodes) from cassandra version 1.1.6 to 1.2.1. Our cluster is evenly partitioned (Murmur3Partitioner). We are using pig for parse and compute aggregate data. When we submit job through pig, what i consistently see is that, while most of the

Re: Cassandra + Hadoop - 2 Task attempts with million of rows

2013-04-22 Thread Shamim
We are using Hadoop 1.0.3 and pig 0.11.1 version -- Best regards   Shamim A. 22.04.2013, 21:48, Shamim sre...@yandex.ru: Hello all,   recently we have upgrade our cluster (6 nodes) from cassandra version 1.1.6 to 1.2.1. Our cluster is evenly partitioned (Murmur3Partitioner). We are using

Re: ordered partitioner

2013-04-22 Thread Jonathan Ellis
Not in general, no. There are places, like indexing, that need to use a local partitioner rather than the global one. Which uses of the DK constructor looked erroneous to you? On Mon, Apr 22, 2013 at 10:54 AM, Desimpel, Ignace ignace.desim...@nuance.com wrote: Hi, I was trying to implement

Re: com.datastax.driver.core.exceptions.InvalidQueryException using Datastax Java driver

2013-04-22 Thread Techy Teck
I am using correct keyspace name for that column family. I have verified that as well. Can I insert into Column Family (that I created from CLI mode) using Datastax Java driver or not with Cassandra 1.2.3? On Mon, Apr 22, 2013 at 5:05 AM, Internet Group fsob...@igcorp.com.brwrote: It seems to

Re: Datastax Java Driver connection issue

2013-04-22 Thread Abhijit Chanda
Aaron, Just for clarification, why it is necessary to set the server rpc address to 127.0.0.1? On Mon, Apr 22, 2013 at 2:22 AM, aaron morton aa...@thelastpickle.comwrote: Make sure that the server rpc_address is set to 127.0.0.1 Cheers - Aaron Morton Freelance Cassandra

Re: Ec2Snitch to Ec2MultiRegionSnitch

2013-04-22 Thread Dane Miller
On Thu, Apr 18, 2013 at 7:41 AM, Alain RODRIGUEZ arodr...@gmail.com wrote: I am wondering about the process to grow from one data center to a few of them. First thing is we use EC2Snitch for now. So I guess we have to switch to Ec2MultiRegionSnitch. c/ I am using the SimpleStrategy. Is it

Insert into column which is of DateType

2013-04-22 Thread Techy Teck
I created my column family in Cassandra database like this from the CLI- create column family PROFILE with key_validation_class = 'UTF8Type' and comparator = 'UTF8Type' and default_validation_class = 'UTF8Type' and column_metadata = [ {column_name : lmd, validation_class : 'DateType'} ]; Now