Ok sorry it was my fault. It seems that I've updated using bad POM configuration to new thrift library that was build in my computer from source.
but it's important to tell other do not update the Thrift lib because it's become incompatible with cassandra Thanks On Wed, Dec 9, 2009 at 11:28 AM, Richard Grossman <[email protected]>wrote: > Sorry > > But I've succed to compile but when I try to make any operation I get: > > ERROR - Fatal exception in thread Thread[pool-1-thread-1,5,main] > java.lang.Error: Unresolved compilation problems: > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnPath>) is undefined > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_args>, > Map<Cassandra.get_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_result._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnOrSuperColumn>) is > undefined > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_result>, > Map<Cassandra.get_result._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_slice_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnParent>) is undefined > The constructor StructMetaData(byte, Class<SlicePredicate>) is > undefined > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_slice_args>, > Map<Cassandra.get_slice_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_slice_result._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnOrSuperColumn>) is > undefined > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_slice_result>, > Map<Cassandra.get_slice_result._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.multiget_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnPath>) is undefined > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.multiget_args>, > Map<Cassandra.multiget_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.multiget_result._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnOrSuperColumn>) is > undefined > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.multiget_result>, > Map<Cassandra.multiget_result._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.multiget_slice_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnParent>) is undefined > The constructor StructMetaData(byte, Class<SlicePredicate>) is > undefined > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.multiget_slice_args>, > Map<Cassandra.multiget_slice_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.multiget_slice_result._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnOrSuperColumn>) is > undefined > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.multiget_slice_result>, > Map<Cassandra.multiget_slice_result._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_count_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnParent>) is undefined > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_count_args>, > Map<Cassandra.get_count_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_count_result._Fields> > TFieldIdEnum cannot be resolved to a type > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_count_result>, > Map<Cassandra.get_count_result._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_key_range_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_key_range_args>, > Map<Cassandra.get_key_range_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_key_range_result._Fields> > TFieldIdEnum cannot be resolved to a type > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_key_range_result>, > Map<Cassandra.get_key_range_result._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_range_slice_args._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<ColumnParent>) is undefined > The constructor StructMetaData(byte, Class<SlicePredicate>) is > undefined > The constructor FieldMetaData(String, byte, EnumMetaData) is undefined > EnumMetaData cannot be resolved to a type > TType.ENUM cannot be resolved > The method addStructMetaDataMap(Class<? extends TBase>, > Map<Integer,FieldMetaData>) in the type FieldMetaData is not applicable for > the arguments (Class<Cassandra.get_range_slice_args>, > Map<Cassandra.get_range_slice_args._Fields,FieldMetaData>) > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_range_slice_result._Fields> > TFieldIdEnum cannot be resolved to a type > The constructor StructMetaData(byte, Class<KeySlice>) is undefined > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.insert_args._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.insert_result._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.batch_insert_args._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.batch_insert_result._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.remove_args._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.remove_result._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_string_property_args._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_string_property_result._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_string_list_property_args._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.get_string_list_property_result._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.describe_keyspace_args._Fields> > TFieldIdEnum cannot be resolved to a type > The type TBase is not generic; it cannot be parameterized with > arguments <Cassandra.describe_keyspace_result._Fields> > TFieldIdEnum cannot be resolved to a type > > at > org.apache.cassandra.service.Cassandra$batch_insert_args.<init>(Cassandra.java:1082) > at > org.apache.cassandra.service.Cassandra$Processor$batch_insert.process(Cassandra.java:959) > at > org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:693) > at > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:637) > > obviously something wrong with the packaging but what ???? > > On Tue, Dec 8, 2009 at 8:33 PM, Ramzi Rabah <[email protected]> wrote: > >> Yeah I also just built trunk and worked perfectly. >> >> On Tue, Dec 8, 2009 at 10:29 AM, Jonathan Ellis <[email protected]> >> wrote: >> > "ant clean build" should work >> > >> > what error are you seeing? >> > >> > On Tue, Dec 8, 2009 at 11:33 AM, Richard Grossman <[email protected]> >> wrote: >> >> Hi >> >> >> >> I've lost a day to try desperately to compile the version but nothing >> help. >> >> try with maven or ant build nothing help it's like the thrift interface >> have >> >> changed or something else I really can't understand what. >> >> May be you could help to build this version ? >> >> >> >> thanks >> >> >> > >> > >
