Re: i have one mistake in Cassandra.java when i build it

2010-04-06 Thread 叶江
thanks,just as Ellis say,i rebuild the thrift . thanks for your help. 2010/4/6 Jonathan Ellis > This means you rebuilt the Thrift code with an old compiler. > > If you look in lib/ the thrift jar is tagged with the svn revision we > built with. Thrift has frequent regressions, so using that sam

Re: i have one mistake in Cassandra.java when i build it

2010-04-06 Thread Jonathan Ellis
This means you rebuilt the Thrift code with an old compiler. If you look in lib/ the thrift jar is tagged with the svn revision we built with. Thrift has frequent regressions, so using that same revision is the best way to avoid unpleasant surprises. On Tue, Apr 6, 2010 at 4:34 AM, 叶江 wrote: >

Re: i have one mistake in Cassandra.java when i build it

2010-04-06 Thread Sylvain Lebresne
That's a bit short of a description, but quite possibly you have a mismatch somehow between your compiled thrift java bindings and cassandra itself. Try to do an ant clean followed by ant gen-thrift-java followed by ant to rebuild everything. -- Sylvain On Tue, Apr 6, 2010 at 11:34 AM, 叶江

i have one mistake in Cassandra.java when i build it

2010-04-06 Thread 叶江
hi: i want to take some experiments on cassandra by java, but when i write client,a mistake can not convert int to ConsistencyLevel appear, so how can i solve ? thanks very much.