Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Thrift build


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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB