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

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


+
Aniket Mokashi 2012-02-08, 20:32
Copy link to this message
-
Re: Thrift build
Namit Jain 2012-02-08, 23:58
Check out svn+ssh://tubbs/svnhive/hadoop/external/thrift-0.7.0

And set your thrift.home to the above
On 2/8/12 12:32 PM, "Aniket Mokashi" <[EMAIL PROTECTED]> wrote:

>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.thrif
>t: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
+
Aniket Mokashi 2012-02-09, 00:42