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" <aniket...@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