Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 94980 invoked from network); 15 Feb 2011 00:14:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2011 00:14:33 -0000 Received: (qmail 87680 invoked by uid 500); 15 Feb 2011 00:14:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 87633 invoked by uid 500); 15 Feb 2011 00:14:30 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 87625 invoked by uid 99); 15 Feb 2011 00:14:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 00:14:30 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a54.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 00:14:24 +0000 Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id 67EED3A405B for ; Mon, 14 Feb 2011 16:14:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=to:from :subject:date:message-id:content-type:mime-version:in-reply-to; q=dns; s=thelastpickle.com; b=hQBd4HkYqkVBp/YBLdbIDU/C2zUM8kucc 5V/ImqPg+tXdQdBIRz0lS26Dm5CHop6bKPI8PPmXflDoCm6p1saLLv2TjxrL+OL8 W1BlmpyIDZrUBV1cZJ8RqCaIte8bqbaVHQ/dGL8fJBlvfFm5aCWtyZ4qOCjRGZRi 3CwJBM1Q2g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=to :from:subject:date:message-id:content-type:mime-version: in-reply-to; s=thelastpickle.com; bh=9WsF2uLiYPPszFUykgczf3JGCCc =; b=Nb7f+3a0QOGF+hSuBtV0Oqwq/BvZXXJprz49qRElsix99rlIBTzqdabrR81 ZgPFXk7sxmeybt28LfwsPjuGDdwmg01LAAt6yEsJup0uakFmRAXorfzOxZHwg5/r KCPEHnnhnDJvAEToPEMWqapQCYplSxX2XViNZLPMFLy6Tv/A= Received: from localhost (webms.mac.com [17.148.16.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 5262A3A4058 for ; Mon, 14 Feb 2011 16:14:03 -0800 (PST) To: user@cassandra.apache.org From: Aaron Morton Subject: Re: Internal error processing insert Date: Tue, 15 Feb 2011 00:14:01 GMT X-Mailer: MobileMe Mail (1C3224) Message-id: <53e94df6-09c9-6998-9305-87cfe678f33e@me.com> Content-Type: multipart/alternative; boundary=Apple-Webmail-42--bf447fb1-99dc-e621-eaf4-926a23a049f1 MIME-Version: 1.0 In-Reply-To: <1297728179388-6025762.post@n2.nabble.com> --Apple-Webmail-42--bf447fb1-99dc-e621-eaf4-926a23a049f1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Not sure why the docs suggest to use the NetworkTopologyStrategy, if their= are no data centres configured the NetworkTopologyStrategy will say the r= eplication factor is 0. I think this is the source of the "invalid respons= e count 1 for replication factor 0"=A0=A0message.=A0=0A=0ACan you try with= the SimpleStrategy?=A0=0A=0Acreate keyspace twissandra with replication_f= actor=3D1=0Aand placement_strategy=3D'org.apache.cassandra.locator.SimpleS= trategy';=0AAaron=0A=0A=0AOn 15 Feb, 2011,at 01:02 PM, mcasandra wrote:=0A=0A=0ANo it's not set to 0. I am just following t= he example on datastax getting=0Astarted site. Here are all the commands:=0A= =0A[default@unknown] create keyspace twissandra with replication_factor=3D= 1=0A... and=0Aplacement_strategy=3D'org.apache.cassandra.locator.NetworkTo= pologyStrategy';=0A22dea790-3893-11e0-9174-b7fa7ed61af9=0A[default@unknown= ] use twissandra;=0AAuthenticated to keyspace: twissandra=0A[default@twiss= andra] create column family users with comparator =3D UTF8Type=0A... ... a= nd column_metadata =3D [{column_name: password,=0Avalidation_class:=0A... = .. UTF8Type}];=0ASyntax error at position 54: missing EOF at '.'=0A[defau= lt@twissandra] create column family users with comparator =3D UTF8Type=0A.= . and column_metadata =3D [{column_name: password, validation_class:=0AUT= F8Type}];=0A5ecbfe61-3893-11e0-9174-b7fa7ed61af9=0A[default@twissandra] cr= eate column family tweets with comparator =3D UTF8Type=0Aand=0A... column_= metadata =3D [{column_name: body, validation_class:=0A... UTF8Type}, {colu= mn_name: username, validation_class: UTF8Type}];=0Ab468f492-3893-11e0-9174= -b7fa7ed61af9=0A[default@twissandra] create column family friends with com= parator =3D=0AUTF8Type;=0Ac08ae1c3-3893-11e0-9174-b7fa7ed61af9=0A[default@= twissandra] create column family followers with comparator =3D=0AUTF8Type;= =0Ac856bb44-3893-11e0-9174-b7fa7ed61af9=0A[default@twissandra] create colu= mn family userline with comparator =3D=0ALongType and=0A... default_valida= tion_class =3D TimeUUIDType;=0Acd9ef725-3893-11e0-9174-b7fa7ed61af9=0A[def= ault@twissandra] create column family timeline with comparator =3D=0ALongT= ype and=0A... default_validation_class =3D TimeUUIDType;=0Ad34d6ee6-3893-1= 1e0-9174-b7fa7ed61af9=0A[default@twissandra] set users['jsmith']['password= ']=3D'ch@ngem3';=0AInternal error processing insert=0A=0A-- =0AView this m= essage in context: http://cassandra-user-incubator-apache-org.3065146.n2.n= abble.com/Internal-error-processing-insert-tp6025740p6025762.html=0ASent f= rom the cassandra-user@incubator.apache.org mailing list archive at Nabble= com.=0A --Apple-Webmail-42--bf447fb1-99dc-e621-eaf4-926a23a049f1 Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--bf447fb1-99dc-e621-eaf4-926a23a049f1 --Apple-Webmail-86--bf447fb1-99dc-e621-eaf4-926a23a049f1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1;
Not sure why the docs suggest to use the NetworkTopologyStrategy, if = their are no data centres configured the NetworkTopologyStrategy will say = the replication factor is 0. I think this is the source of the "invalid response count 1 for replication factor 0" = ; message. 

Can you try with the Simple= Strategy? 

create keyspace =
twissandra with replication_factor=3D1=0Aand placement_strategy=3D'org.apache.cassandra.locator.Simpl=
eStrategy';
Aaron

<= meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8">

On 15 Feb, 2011,at 01:02 PM, mcasandra <mohitanchlia@gmail= com> wrote:


=0ANo it's not set to 0. I am just = following the example on datastax getting
=0Astarted site. Here are all= the commands:
=0A
=0A[default@unknown] create keyspace twissandra w= ith replication_factor=3D1
=0A... and
=0Aplacement_strategy=3D'o= rg.apache.cassandra.locator.NetworkTopologyStrategy';
=0A22dea790-3893-= 11e0-9174-b7fa7ed61af9
=0A[default@unknown] use twissandra;
=0AAuthe= nticated to keyspace: twissandra
=0A[default@twissandra] create column = family users with comparator =3D UTF8Type
=0A... ... and column= _metadata =3D [{column_name: password,
=0Avalidation_class:
=0A... = ... UTF8Type}];
=0ASyntax error at position 54: missing EOF at '= '
=0A[default@twissandra] create column family users with comparator =3D= UTF8Type
=0A... and column_metadata =3D [{column_name: password, v= alidation_class:
=0AUTF8Type}];
=0A5ecbfe61-3893-11e0-9174-b7fa7ed61= af9
=0A[default@twissandra] create column family tweets with comparator= =3D UTF8Type
=0Aand
=0A... column_metadata =3D [{column_name: b= ody, validation_class:
=0A... UTF8Type}, {column_name: username, va= lidation_class: UTF8Type}];
=0Ab468f492-3893-11e0-9174-b7fa7ed61af9
= =0A[default@twissandra] create column family friends with comparator =3D=0AUTF8Type;
=0Ac08ae1c3-3893-11e0-9174-b7fa7ed61af9
=0A[default@t= wissandra] create column family followers with comparator =3D
=0AUTF8Ty= pe;
=0Ac856bb44-3893-11e0-9174-b7fa7ed61af9
=0A[default@twissandra] = create column family userline with comparator =3D
=0ALongType and
=0A= .. default_validation_class =3D TimeUUIDType;
=0Acd9ef725-3893-11e= 0-9174-b7fa7ed61af9
=0A[default@twissandra] create column family timeli= ne with comparator =3D
=0ALongType and
=0A... default_validation= _class =3D TimeUUIDType;
=0Ad34d6ee6-3893-11e0-9174-b7fa7ed61af9
=0A= [default@twissandra] set users['jsmith']['password']=3D'ch@ngem3';
=0AI= nternal error processing insert
=0A
=0A--
=0AView this message i= n context: http://cassandra-= user-incubator-apache-org.3065146.n2.nabble.com/Internal-error-processing-= insert-tp6025740p6025762.html
=0ASent from the cassandra-user@incubator.apache.org mailing list arc= hive at Nabb= le.com.
=0A
--Apple-Webmail-86--bf447fb1-99dc-e621-eaf4-926a23a049f1-- --Apple-Webmail-42--bf447fb1-99dc-e621-eaf4-926a23a049f1--