cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: Internal error processing insert
Date Tue, 15 Feb 2011 00:14:01 GMT
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 SimpleStrategy? 

create keyspace twissandra with replication_factor=1
and placement_strategy='org.apache.cassandra.locator.SimpleStrategy';
Aaron


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


No it's not set to 0. I am just following the example on datastax getting
started site. Here are all the commands:

[default@unknown] create keyspace twissandra with replication_factor=1
... and
placement_strategy='org.apache.cassandra.locator.NetworkTopologyStrategy';
22dea790-3893-11e0-9174-b7fa7ed61af9
[default@unknown] use twissandra;
Authenticated to keyspace: twissandra
[default@twissandra] create column family users with comparator = UTF8Type
... ... and column_metadata = [{column_name: password,
validation_class:
... .. UTF8Type}];
Syntax error at position 54: missing EOF at '.'
[default@twissandra] create column family users with comparator = UTF8Type
.. and column_metadata = [{column_name: password, validation_class:
UTF8Type}];
5ecbfe61-3893-11e0-9174-b7fa7ed61af9
[default@twissandra] create column family tweets with comparator = UTF8Type
and
... column_metadata = [{column_name: body, validation_class:
... UTF8Type}, {column_name: username, validation_class: UTF8Type}];
b468f492-3893-11e0-9174-b7fa7ed61af9
[default@twissandra] create column family friends with comparator =
UTF8Type;
c08ae1c3-3893-11e0-9174-b7fa7ed61af9
[default@twissandra] create column family followers with comparator =
UTF8Type;
c856bb44-3893-11e0-9174-b7fa7ed61af9
[default@twissandra] create column family userline with comparator =
LongType and
... default_validation_class = TimeUUIDType;
cd9ef725-3893-11e0-9174-b7fa7ed61af9
[default@twissandra] create column family timeline with comparator =
LongType and
... default_validation_class = TimeUUIDType;
d34d6ee6-3893-11e0-9174-b7fa7ed61af9
[default@twissandra] set users['jsmith']['password']='ch@ngem3';
Internal error processing insert

-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Internal-error-processing-insert-tp6025740p6025762.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabblecom.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message