ok thank you.

2014-11-20 16:02 GMT+01:00 Mark Reddy <mark.l.re...@gmail.com>:

> Hi Adil,
>
> When using the default superuser ('cassandra') a consistency level of
> QUORUM is used. When using other users ONE is used.
>
> You are not supposed to use 'cassandra' user directly, except to create
> another superuser and use that one from that point on.
>
>
> Mark
>
> On 20 November 2014 14:40, Adil <adil.cha...@gmail.com> wrote:
>
>> cassandra version 2.1.2
>> with the default user
>> we create another user and with this one we could login even if only one
>> node is up
>>
>> 2014-11-20 15:16 GMT+01:00 Mark Reddy <mark.l.re...@gmail.com>:
>>
>>> Hi Adil,
>>>
>>> What Cassandra version are you using? Are you using the default user or
>>> a non-default user?
>>>
>>>
>>> Mark
>>>
>>> On 20 November 2014 08:20, Adil <adil.cha...@gmail.com> wrote:
>>>
>>>> Hi,
>>>> We have two data-center, we configured PasswordAuthenticator on each
>>>> node, we increment the RF of system_auth to the number of nodes (each
>>>> data-center) as recommended.
>>>> We can logged-in via cqlsh without problem, but when i stop cassandra
>>>> on all nodes of a data-center we can't logged in in the other
>>>> data-center...this error is displayed as output:
>>>> Bad credentials]
>>>> message="org.apache.cassandra.exceptions.UnavailableException: Cannot
>>>> achieve consistency level QUORUM"'
>>>>
>>>> from what i understand we should be able to logged in even if there is
>>>> only one node UP but it seems that has to reach QUORUM consistency level (2
>>>> data-center).
>>>>
>>>> my question is if the java driver cql uses the same condition and if
>>>> there is a way to set the consistency level to like LOCAL_ONE.
>>>>
>>>> Thanks
>>>> Adil
>>>>
>>>
>>>
>>
>

Reply via email to