Re: Unable to compile thrift

2017-02-08 Thread Pradeep Gollakota
After modifying the failing line to appropriately use reflection, the following command successfully built parquet-mr with thrift 0.9.3 LC_ALL=C mvn install -DskipTests -Dthrift.version=0.9.3 -Dsun.zip.disableMemoryMapping=true Not sure if I actually need the sun.zip.disableMemoryMapping

Re: Unable to compile thrift

2017-02-08 Thread Lars Volker
I remember trying to compile with the latest version of thrift shipped in Ubuntu 14.04 a few weeks back and got the same error. Using 0.7 worked though. Sadly I don't know why it fails on a Mac. On Feb 8, 2017 21:18, "Pradeep Gollakota" wrote: > I tried building with

Re: Unable to compile thrift

2017-02-08 Thread Pradeep Gollakota
I tried building with -Dthrift.version=0.9.3 and the build still failed with the following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project parquet-thrift: Compilation failure [ERROR]

Re: Unable to compile thrift

2017-02-08 Thread Wes McKinney
hi Pradeep -- you can use Thrift 0.7 or higher (the instructions say "0.7+", perhaps we should call this out more explicitly). I recommend building Thrift 0.9.3 or 0.10 -- let us know if you have issues with these Thanks Wes On Wed, Feb 8, 2017 at 2:19 PM, Pradeep Gollakota