You're using a 0.8 wordcount against a 0.7 Cassandra?

On Wed, Sep 14, 2011 at 2:19 PM, Tharindu Mathew <mcclou...@gmail.com> wrote:
> I see $subject. Can anyone help me to rectify this?
> Stacktrace:
> Exception in thread "main" org.apache.thrift.TApplicationException: Required
> field 'replication_factor' was not found in serialized data! Struct:
> KsDef(name:wordcount,
> strategy_class:org.apache.cassandra.locator.SimpleStrategy,
> strategy_options:{replication_factor=1}, replication_factor:0,
> cf_defs:[CfDef(keyspace:wordcount, name:input_words, column_type:Standard,
> comparator_type:AsciiType, default_validation_class:AsciiType),
> CfDef(keyspace:wordcount, name:output_words, column_type:Standard,
> comparator_type:AsciiType, default_validation_class:AsciiType),
> CfDef(keyspace:wordcount, name:input_words_count, column_type:Standard,
> comparator_type:UTF8Type, default_validation_class:CounterColumnType)])
> at
> org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_system_add_keyspace(Cassandra.java:1531)
> at
> org.apache.cassandra.thrift.Cassandra$Client.system_add_keyspace(Cassandra.java:1514)
> at WordCountSetup.setupKeyspace(Unknown Source)
> at WordCountSetup.main(Unknown Source)
> --
> Regards,
>
> Tharindu
> blog: http://mackiemathew.com/
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Reply via email to