Re: Problem with Schema change propagation time

2011-08-02 Thread Tharindu Mathew
Thanks Aaron. I'll take a look at that. I'll refer this to the hector list as well, as I'm interested in an OOTB solution from the Hector API itself. On Wed, Aug 3, 2011 at 4:05 AM, Aaron Morton wrote: > You want to run the thrift function describe_schema_versions it will tell > you which nodes

Re: Problem with Schema change propagation time

2011-08-02 Thread Aaron Morton
You want to run the thrift function describe_schema_versions it will tell you which nodes are on which schemas, and wait until there is a single version. From memory this is what the Cassandra Cli does, have a look in the code base in the o.a.c.cli package. Cheers - Aaron Mor

Problem with Schema change propagation time

2011-08-02 Thread Tharindu Mathew
I ran across a problem, when trying to execute the following code through Hector. private boolean createCF(String CFName) { BasicColumnFamilyDefinition columnFamilyDefinition = new BasicColumnFamilyDefinition(); columnFamilyDefinition.setColumnType(ColumnType.STANDARD); col