Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Thrift build


Copy link to this message
-
Thrift build
Aniket Mokashi 2012-02-08, 20:32
Hi,

I made some changes to hive_metastore.thrift to add a few new apis. I am
trying to generate code with thrift, but I am hitting following errors-

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:224]
(last token was 'fb303.FacebookService')
     [exec] Service
"fb303[WARNING:/work/projects/hive-trunk/metastore/if/hive_metastore.thrift:6]
Could not find include file share/fb303/if/fb303.thrift.FacebookService"
has not been defined.
     [exec]
     [exec]

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

Please let me know if I am missing anything.

Thanks,
Aniket