You need thrift version 0.5 for it to build properly. I had the same issue.
-- Matthew Rathbone Foursquare | Software Engineer | Server Engineering Team [email protected] (mailto:[email protected]) | @rathboma (http://twitter.com/rathboma) | 4sq (http://foursquare.com/rathboma) On Tuesday, September 6, 2011 at 3:08 AM, Avinash Shahdadpuri wrote: > I am on 0.7.0 > > Should I give 0.6.0 a try? > > On Tue, Sep 6, 2011 at 1:05 AM, Jonathan Hsieh <[email protected] > (mailto:[email protected])> wrote: > > > Avinash, > > > > What version for thrift are you using on the mac? I believe all maven > > based > > flume has been 0.6.0 based. Thrift has been good at keeping their > > wireformat constant but in each version they keep changing the > > client/server > > api you have to build against! > > > > Jon. > > > > On Sun, Sep 4, 2011 at 11:59 PM, Avinash Shahdadpuri > > <[email protected] (mailto:[email protected])>wrote: > > > > > Hi, > > > > > > I am trying to build flume and get following compilation errors. > > > > > > The command I use is > > > > > > mvn compile -Dthrift.executable=/opt/local/bin/thrift > > > > > > The errors are - > > /dev/flume/flume-core/target/generated-sources/thrift/com/cloudera/flume/reporter/server/thrift/ThriftFlumeReportServer.java:[42,54] > > > no interface expected here > > /dev/flume/flume-core/target/generated-sources/thrift/com/cloudera/flume/reporter/server/thrift/ThriftFlumeReportServer.java:[188,74] > > > cannot find symbol > > > symbol : class TBaseProcessor > > > location: package org.apache.thrift > > /dev/flume/flume-core/target/generated-sources/thrift/com/cloudera/flume/reporter/server/thrift/ThriftFlumeReportServer.java:[194,63] > > > cannot find symbol > > > > > > I am using a mac and have used thrift from macports. > > > > > > Has anyone seen this before? Any pointers in resolving this would be very > > > helpful. > > > > > > Thanks, > > > > > > Avinash > > > > > > > > -- > > // Jonathan Hsieh (shay) > > // Software Engineer, Cloudera > > // [email protected] (mailto:[email protected])
