Build failure due to some thrift related failures

65 views
Skip to first unread message

optimusprime

unread,
Aug 15, 2011, 7:25:54 PM8/15/11
to FlockDB
Build fails with some issues in thrift related files.

[info] == auto-compile-thrift-java ==
[info] == auto-compile-thrift-java ==
[info]
[info] == compile ==
[info] Source analysis: 74 new/modified, 0 indirectly invalidated, 0
removed.
[info] Compiling main sources...
[error] /home/usmanm/flockdb/target/gen-java/com/twitter/flockdb/
thrift/FlockDB.java:73: no interface expected here
[error] public static class Client extends
org.apache.thrift.TServiceClient implements Iface {
[error] ^
[error] /home/usmanm/flockdb/target/gen-java/com/twitter/flockdb/
thrift/FlockDB.java:718: cannot find symbol
[error] symbol : class TBaseProcessor
[error] location: package org.apache.thrift
[error] public static class Processor<I extends Iface> extends
org.apache.thrift.TBaseProcessor implements
org.apache.thrift.TProcessor {
[error]
^

The following thrift and java is installed:
ubuntu:~$ thrift -version
Thrift version 0.7.0
ubuntu:~$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9)
(6b20-1.9.9-0ubuntu1~10.04.2)
OpenJDK Server VM (build 19.0-b09, mixed mode)

Any ideas what the issue might be?

optimusprime

unread,
Aug 15, 2011, 7:27:22 PM8/15/11
to FlockDB
And I have sbt 0.7.4. Forgot to mention that earlier.

ksauzz

unread,
Aug 15, 2011, 8:48:44 PM8/15/11
to flo...@googlegroups.com
Hi

It look like a thrift version mismatch. Could you try to use thrift-0.5.0?

2011/8/16 optimusprime <usma...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages