1 have downloaded cassandra 2.x and set up on single machine. Started
Cassandra server and connecting via cqlsh. Created a column family and
inserting a single record into it(via cqlsh).

Wondering why it gives "No node available"

Even though simple insert queries(without CAS) works!

-Vivek


On Tue, Jan 21, 2014 at 11:33 AM, Drew Kutcharian <d...@venarc.com> wrote:

> If you are trying this out on a single node, make sure you set the
> replication_factor of the keyspace to one.
>
>
> On Jan 20, 2014, at 7:41 PM, Vivek Mishra <mishra.v...@gmail.com> wrote:
>
> Single node and default consistency. Running via cqsh
>
>
> On Tue, Jan 21, 2014 at 1:47 AM, sankalp kohli <kohlisank...@gmail.com>wrote:
>
>> Also do you have any nodes down...because it is possible to reach write
>> consistency and not do CAS because some machines are down.
>>
>>
>> On Mon, Jan 20, 2014 at 12:16 PM, sankalp kohli 
>> <kohlisank...@gmail.com>wrote:
>>
>>> What consistency level are you using?
>>>
>>>
>>> On Mon, Jan 20, 2014 at 7:16 AM, Vivek Mishra <mishra.v...@gmail.com>wrote:
>>>
>>>> Hi,
>>>> Trying CAS feature of cassandra 2.x and somehow getting given below
>>>> error:
>>>>
>>>>
>>>> cqlsh:sample> insert into "User"(user_id,first_name) values(
>>>> fe08e810-81e4-11e3-9470-c3aa8ce77cc4,'vivek1') if not exists;
>>>> Unable to complete request: one or more nodes were unavailable.
>>>> cqlsh:training>
>>>>
>>>>
>>>> cqlsh:sample> insert into "User"(user_id,first_name) values(
>>>> fe08e810-81e4-11e3-9470-c3aa8ce77cc4,'vivek1')
>>>>
>>>> It works fine.
>>>>
>>>> Any idea?
>>>>
>>>> -Vivek
>>>>
>>>>
>>>>
>>>
>>
>
>

Reply via email to