You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Liangzhao Zeng <li...@gmail.com> on 2011/01/30 04:27:52 UTC

Re: [VOTE] 0.7.1 (attempt #2)

I try to re-generate the Java interface from cassandra.thrift, however, i
got error message as

   gen-thrift-java:

     [echo] Generating Thrift Java code from
/Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift ....

     [exec]
[FAILURE:/Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift:375]
type error: const consistency_level was declared as type ConsistencyLevel
which is an enum, but ConsistencyLevel.ONE is not a valid value for that
enum


BUILD FAILED


Any suggestion on what could be wrong?


Cheers,


Liangzhao

Re: [VOTE] 0.7.1 (attempt #2)

Posted by Jonathan Ellis <jb...@gmail.com>.
Looks like you have an old version of the Thrift compiler.

On Sat, Jan 29, 2011 at 9:27 PM, Liangzhao Zeng
<li...@gmail.com> wrote:
> I try to re-generate the Java interface from cassandra.thrift, however, i
> got error message as
>
>   gen-thrift-java:
>
>     [echo] Generating Thrift Java code from
> /Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift ....
>
>     [exec]
> [FAILURE:/Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift:375]
> type error: const consistency_level was declared as type ConsistencyLevel
> which is an enum, but ConsistencyLevel.ONE is not a valid value for that
> enum
>
>
> BUILD FAILED
>
>
> Any suggestion on what could be wrong?
>
>
> Cheers,
>
>
> Liangzhao
>



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

Re: [VOTE] 0.7.1 (attempt #2)

Posted by Jonathan Ellis <jb...@gmail.com>.
Looks like you have an old version of the Thrift compiler.

On Sat, Jan 29, 2011 at 9:27 PM, Liangzhao Zeng
<li...@gmail.com> wrote:
> I try to re-generate the Java interface from cassandra.thrift, however, i
> got error message as
>
>   gen-thrift-java:
>
>     [echo] Generating Thrift Java code from
> /Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift ....
>
>     [exec]
> [FAILURE:/Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift:375]
> type error: const consistency_level was declared as type ConsistencyLevel
> which is an enum, but ConsistencyLevel.ONE is not a valid value for that
> enum
>
>
> BUILD FAILED
>
>
> Any suggestion on what could be wrong?
>
>
> Cheers,
>
>
> Liangzhao
>



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