You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Aniket Mokashi <an...@gmail.com> on 2012/03/07 03:20:18 UTC

Building with thrift

Hi,

I am trying to build hive source code with thrift. I get following error-

lgmac-amokashi:metastore amokashi$ ant thriftif -Dthrift.home=/usr/local/
Buildfile: /work/projects/hive-trunk/metastore/build.xml

check-thrift-home:
     [echo] Project: metastore

thriftif:
     [echo] Project: metastore
     [echo] Executing /usr/local//bin/thrift on
metastore/if/hive_metastore.thrift
     [exec]
[ERROR:/work/projects/hive-trunk/metastore/if/hive_metastore.thrift:232]
(last token was 'fb303.FacebookService')
     [exec] Service "fb303.FacebookService" has not been defined.
     [exec]
[WARNING:/work/projects/hive-trunk/metastore/if/hive_metastore.thrift:6]
Could not find include file share/fb303/if/fb303.thrift
     [exec]

BUILD FAILED
/work/projects/hive-trunk/metastore/build.xml:29: exec returned: 1

What am I missing?

Thanks,
Aniket