I do the range query by the hector client when the state and birht_date
columns are both indexed, it show the error:
The method addGtExpression(String,String) in the type
IndexedSlicesQueryString,String,String is not applicable for the
arguments(String,long)
The code is as below:
Raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
I do the range query by the hector client when the state and birht_date
columns are both indexed, it show the error:
The method addGtExpression(String,String) in the type
IndexedSlicesQueryString,String,String is not applicable
are still making the same mistake.
You are now saying that your values are going to be long (by passing LS as the
valueSerializer), but in addEqualsExpression(), you are passing a String value.
2011/2/17 Raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
Not really.
I also tried the code
: indexedslicesQuery class error
You didn't see the previously given link?
@see:
https://groups.google.com/group/hector-users/browse_thread/thread/520c5332dedfca4a
2011/2/17 Raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
But my requirement is get the data by birth_date and state
Thanks .
I change ss to bytebufferserializer. It works fine.
From: Raoyixuan (Shandy) [mailto:raoyix...@huawei.com]
Sent: Thursday, February 17, 2011 11:16 AM
To: user@cassandra.apache.org
Subject: RE: indexedslicesQuery class error
I modify it as below
StringSerializer ss
. They might reveal
something
Anyone else can help here.?
2011/1/27 Raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
It shows error, I put it in the attachment
From: Ashish [mailto:paliwalash...@gmail.commailto:paliwalash...@gmail.com]
Sent: Wednesday, January 26, 2011 10:31 PM
To: user
connect via jconsole
find MBeans - org.apache.cassandra.db -
StorageServicehttp://wiki.apache.org/cassandra/StorageService - Operations
- loadSchemaFromYAML
load the schema
and then try the example again.
HTH
ashish
2011/1/21 raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
Which
whether the random/order partitioner specify the token for the node ,not for
key?
华为技术有限公司 Huawei Technologies Co., Ltd.[Company_logo]
Phone: 28358610
Mobile: 13425182943
Email: raoyix...@huawei.commailto:raoyix...@huawei.com
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian,
To: user@cassandra.apache.org
Subject: Re: about the partitioner type
http://www.datastax.com/docs/0.7/operations/clustering#tokens-partitioners-and-the-ring
- Tyler
2011/1/23 raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
whether the random/order partitioner specify the token
I exec the code as below by hector client:
package com.riptano.cassandra.hector.example;
import me.prettyprint.cassandra.serializers.StringSerializer;
import me.prettyprint.hector.api.Cluster;
import me.prettyprint.hector.api.Keyspace;
import me.prettyprint.hector.api.beans.HColumn;
import
with cassandra,
ensure to load the schema from JMX.
thanks
ashish
2011/1/21 raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
I exec the code as below by hector client:
package com.riptano.cassandra.hector.example;
import me.prettyprint.cassandra.serializers.StringSerializer;
import
It's ok
-Original Message-
From: raoyixuan (Shandy) [mailto:raoyix...@huawei.com]
Sent: Wednesday, January 19, 2011 2:28 PM
To: user@cassandra.apache.org
Subject: RE: about the hector client
I will try it again, thank you .
-Original Message-
From: Ashish [mailto:paliwalash
Can you tell me the exactly steps to create a keyspace by hector client?
华为技术有限公司 Huawei Technologies Co., Ltd.[Company_logo]
Phone: 28358610
Mobile: 13425182943
Email: raoyix...@huawei.commailto:raoyix...@huawei.com
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang
can also create a keyspace in a cassandra cluster via the cassandra-cli
command line interface Take a look at the tools online help if you're
interested.
Aaron
On 19 Jan, 2011,at 05:00 PM, raoyixuan (Shandy) raoyix...@huawei.com wrote:
Can you tell me the exactly steps to create a keyspace
at 11:42 AM, raoyixuan (Shandy)
raoyix...@huawei.com wrote:
The url is unavailable
From: Aaron Morton [mailto:aa...@thelastpickle.com]
Sent: Wednesday, January 19, 2011 12:17 PM
To: user@cassandra.apache.org
Subject: Re: about the hector client
Try the hector user group for help on how
command.
How you set it will depend on the client you are using. Which one are you using
?
Aaron
On 17/01/2011, at 8:50 PM, raoyixuan (Shandy) wrote:
How to set the consistency level in Cassandra 0.7? I mean what command?
华为技术有限公司 Huawei Technologies Co., Ltd.image001.jpg
Phone: 28358610
for
m.p.h.api.factory.HFactory.createKeyspace() . It defaults to the
m.p.c.model.QuorumAllConsistencyLevelPolicy which uses Quorum for all
operations.
Hope that helps.
Aaron
On 17/01/2011, at 9:23 PM, raoyixuan (Shandy) wrote:
Both hector and cassandra-cli . Can you tell me respectively? Thanks
You can issue the nodetool cleanup to clean up the data in old nodes.
-Original Message-
From: Karl Hiramoto [mailto:k...@hiramoto.org]
Sent: Monday, January 17, 2011 3:34 PM
To: user@cassandra.apache.org
Subject: Re: balancing load
Thanks for the help. I used nodetool move, so now
How to set the consistency level in Cassandra 0.7? I mean what command?
华为技术有限公司 Huawei Technologies Co., Ltd.[Company_logo]
Phone: 28358610
Mobile: 13425182943
Email: raoyix...@huawei.commailto:raoyix...@huawei.com
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang
Thanks very much
-Original Message-
From: sc...@scode.org [mailto:sc...@scode.org] On Behalf Of Peter Schuller
Sent: Friday, January 14, 2011 4:40 PM
To: user@cassandra.apache.org
Subject: Re: about the data directory
as a administrator, I want to know why I can read the data from any
Not exactly. You mean one data will be put in four nodes which have 25%? If
does, how about two replica?
From: Viktor Jevdokimov [mailto:viktor.jevdoki...@adform.com]
Sent: Thursday, January 13, 2011 2:59 PM
To: user@cassandra.apache.org
Subject: RE: about the data directory
I have 4 nodes,
I agree with you totally. but I want to know which node is the data kept? I
mean which way to know the actual data kept?
-Original Message-
From: sc...@scode.org [mailto:sc...@scode.org] On Behalf Of Peter Schuller
Sent: Thursday, January 13, 2011 4:20 PM
To: user@cassandra.apache.org
So you mean just the replica node 's sstable will be changed ,right?
If all the replica node broke down, whether the users can read the data?
-Original Message-
From: sc...@scode.org [mailto:sc...@scode.org] On Behalf Of Peter Schuller
Sent: Thursday, January 13, 2011 4:32 PM
To:
It's ip address problem, whether you ip address had changed? Please confirm it
and restart the Cassandra.
-Original Message-
From: vikram prajapati [mailto:prajapativik...@hotmail.com]
Sent: Friday, January 14, 2011 12:23 AM
To: user@cassandra.apache.org
Subject: Re:
@cassandra.apache.org
Subject: Re: about the data directory
On Thu, Jan 13, 2011 at 7:56 PM, raoyixuan (Shandy)
raoyix...@huawei.com wrote:
I have some confused, why do the users can read the data in all nodes? I mean
the data just be kept in the replica, how to achieve it?
-Original Message-
From
So you mean the coordinator node is just responsible for routing the request.
where the request will be Routed? whether the coordinator node route the
request to the first replica to insert the data?
whether
-Original Message-
From: sc...@scode.org [mailto:sc...@scode.org] On Behalf
if I have 20 nodes, and replica factor is 3, whether all the node have the
replica finally or just have 3 replica?
华为技术有限公司 Huawei Technologies Co., Ltd.[Company_logo]
Phone: 28358610
Mobile: 13425182943
Email: raoyix...@huawei.commailto:raoyix...@huawei.com
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei
: Thursday, January 13, 2011 1:56 PM
To: user
Subject: Re: about the insert data
On Wed, Jan 12, 2011 at 5:46 PM, raoyixuan (Shandy)
raoyix...@huawei.com wrote:
So you mean the coordinator node is just responsible for routing the request.
Right. Of course, if the coordinator node happens to also
replicas might happen to be the coordinator
itself.
Only replicas read/write data they are responsible for, not the coordinator
(unless the coordinator is also a replica for that data).
- Tyler
On Thu, Jan 13, 2011 at 12:07 AM, raoyixuan (Shandy)
raoyix...@huawei.commailto:raoyix...@huawei.com
I have 4 nodes, then I I create one keyspace (such as FOO) with replica factor
=1 and insert an data, why I can see the directory of
/var/lib/Cassandra/data/FOO in every nodes? As I know, I just have one replica
华为技术有限公司 Huawei Technologies Co., Ltd.[Company_logo]
Phone: 28358610
Mobile:
connect to and make the request to. It has nothing to do with which
node(s) are replicas for the data.
- Tyler
2011/1/11 raoyixuan (Shandy) raoyix...@huawei.commailto:raoyix...@huawei.com
I get confuse about the node which the data insert.I connect to one node by
Cassandra-cli, and insert some
31 matches
Mail list logo