Yes. That's the problem. Thanks Jonathan.

I'm actually using trunk against a 0.7. How can I generate the distro in
trunk?

Forgive my ignorance, I'm more used to maven.

On Thu, Sep 15, 2011 at 1:08 AM, Jonathan Ellis <jbel...@gmail.com> wrote:

> 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
>



-- 
Regards,

Tharindu

blog: http://mackiemathew.com/

Reply via email to