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/02/08 21:32:47 UTC

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

Re: Thrift build

Posted by Aniket Mokashi <an...@gmail.com>.
Thanks Namit.

$ svn co svn+ssh://tubbs/svnhive/hadoop/external/thrift-0.7.0
svn: To better debug SSH connection problems, remove the -q option from
'ssh' in the [tunnels] section of your Subversion configuration file.
svn: Network connection closed unexpectedly

I am not able to reach it. Am I missing anything?

Thanks,
Aniket

On Wed, Feb 8, 2012 at 3:58 PM, Namit Jain <nj...@fb.com> wrote:

> 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" <an...@gmail.com> 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:::... Quetzalco@tl"

Re: Thrift build

Posted by Namit Jain <nj...@fb.com>.
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" <an...@gmail.com> 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