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]>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]
