Well I did a local test by debugging our code and the policy is set to
LOCAL_QUORUM. Is there something else I'm missing? More info that would
help? Or should I direct this to the hector-users group?

Anthony


On Thu, Sep 29, 2011 at 5:13 PM, Anthony Ikeda
<anthony.ikeda....@gmail.com>wrote:

> RF=3
>
> 2 DC's
> 3 nodes each
>
>
>
> On Thu, Sep 29, 2011 at 5:08 PM, Paul Loy <ketera...@gmail.com> wrote:
>
>> What is your replication factor?
>>
>>
>> On Thu, Sep 29, 2011 at 5:02 PM, Anthony Ikeda <
>> anthony.ikeda....@gmail.com> wrote:
>>
>>> We seem to be having issues with out Consistency policies. We have it
>>> configured in Spring using the following:
>>>
>>>      <bean id="consistencyLevelPolicy" class=
>>> "me.prettyprint.cassandra.model.ConfigurableConsistencyLevel">
>>>
>>>     <property name="defaultReadConsistencyLevel" value="LOCAL_QUORUM"/>
>>>
>>>     <property name="defaultWriteConsistencyLevel" value="LOCAL_QUORUM"/>
>>>
>>>     </bean>
>>>
>>>
>>>
>>>     <bean id="keyspaceOperator" class=
>>> "me.prettyprint.hector.api.factory.HFactory" factory-method=
>>> "createKeyspace">
>>>
>>>         <constructor-arg value="RegistryFoundation"/>
>>>
>>>         <constructor-arg ref="cluster"/>
>>>
>>>         <constructor-arg ref="consistencyLevelPolicy"/>
>>>
>>>     </bean>
>>>
>>> However, in our distributed testing, bringing down a single node will
>>> cause the 'May not be enough replicas present to handle consistency level'
>>> error
>>>
>>> I wanted to create a test to load the Spring config (above) and find out
>>> what the consistency level is set to but there do not appear to be any
>>> accessor methods to discover the value. Is there a way to output the
>>> Consistency level to make sure that what we have configured is what is
>>> actually being used?
>>>
>>> Anthony
>>>
>>>
>>
>>
>> --
>> ---------------------------------------------
>> Paul Loy
>> p...@keteracel.com
>> http://uk.linkedin.com/in/paulloy
>>
>
>

Reply via email to