Have you added a Jira for this? Or does anyone else want or not want this 
feature ?

I'll try to add it as practice.
Aaron

On 17/01/2011, at 10:15 PM, "raoyixuan (Shandy)" <raoyix...@huawei.com> wrote:

> Thanks a lot.
> 
> From: aaron morton [mailto:aa...@thelastpickle.com] 
> Sent: Monday, January 17, 2011 5:01 PM
> To: user@cassandra.apache.org
> Subject: Re: about the consistency level
> 
>  
> 
> The cassandra-clie works as CL.ONE , currently it cannot be changed. I'm not 
> sure if there is a reason for this, but if it's a feature you would like add 
> a request to JIRA https://issues.apache.org/jira/browse/CASSANDRA
> 
>  
> 
> In Hector it's part of the m.p.h.api.Keyspace interface as 
> setConsistencyLevelPolicy(), implemented in m.p.c.model.Keyspace and looks 
> like the way to set it is via the one of the overloads 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 a lot.
> 
>  
> 
> From: aaron morton [mailto:aa...@thelastpickle.com] 
> Sent: Monday, January 17, 2011 4:17 PM
> To: user@cassandra.apache.org
> Subject: Re: about the consistency level
> 
>  
> 
> The ConsistenyLevel is passed with each read and write 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
> Mobile: 13425182943
> Email: raoyix...@huawei.com
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com
> 
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from HUAWEI, 
> which 
> is intended only for the person or entity whose address is listed above. Any 
> use of the 
> information contained herein in any way (including, but not limited to, total 
> or partial 
> disclosure, reproduction, or dissemination) by persons other than the 
> intended 
> recipient(s) is prohibited. If you receive this e-mail in error, please 
> notify the sender by 
> phone or email immediately and delete it!
> 
>  
> 
>  
> 
>  

Reply via email to