cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason zhao yang <zhaoyangsingap...@gmail.com>
Subject Re: Read data from specific node in cassandra
Date Thu, 05 May 2016 09:52:35 GMT
Hi,

Can you check LoadBalancing Policy -> whiteList ?

jasonstack

Varun Barala <varunbarala99@gmail.com>于2016年5月5日周四 下午5:40写道:

> Hi Siddharth Verma,
>
> You can define consistency level LOCAL_ONE.
>
> and you can applyh consistency level during statement creation.
>
> like this -> statement.setConsistencyLevel(ConsistencyLevel.LOCAL_ONE);
>
> On Thu, May 5, 2016 at 3:55 PM, Siddharth Verma <
> verma.siddharth@snapdeal.com> wrote:
>
>> Hi,
>> We have a 3 node cluster in DC1, where replication factor of keyspace is
>> 3.
>> How can i read data only from one particular node in java driver?
>>
>> Thanks,
>> Siddharth Verma
>>
>
>

Mime
View raw message