You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2008/11/30 07:07:44 UTC

[jira] Issue Comment Edited: (HIVE-87) Clean up thrift-related files

    [ https://issues.apache.org/jira/browse/HIVE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651789#action_12651789 ] 

michim edited comment on HIVE-87 at 11/29/08 10:06 PM:
----------------------------------------------------------------

1. build-common.xml: Added "thrift.dir" property. You need these 2 files installed to compile metastore. 
    - ${thrift.dir}/fb303/if/fb303.thrift
    - ${thrift.dir}/thrift/if/reflection_limited.thrift

2. metastore/build.xml: Modified core-compile target to depend on thriftif. Added clean target to remove src/gen-* directories.

After applying this patch, you can remove metastore/include and metastore/src/gen-* directories and everything should work. 

      was (Author: michim):
    1. build-common.xml: Added "thrift.dir" property. You need these 2 files installed to compile metastore. 
       - ${thrift.dir}/fb303/if/fb303.thrift
       - ${thrift.dir}/thrift/if/reflection_limited.thrift

2. metastore/build.xml: Modified core-compile target to depend on thriftif. Added clean target to remove src/gen-* directories.

After applying this patch, you can remove metastore/include and metastore/src/gen-* directories and everything should work. 
  
> Clean up thrift-related files
> -----------------------------
>
>                 Key: HIVE-87
>                 URL: https://issues.apache.org/jira/browse/HIVE-87
>             Project: Hadoop Hive
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: hive-87.0.patch
>
>
> 1. Add "thrift.dir" configuration paramter to build.xml. The default path should be /usr/local/share. Then remove metastore/include.
> 2. Remove the following directories from svn. They don't have to be checked in as they are generated by thrift. 
> metastore/src/gen-javabean
> metastore/src/gen-php
> metastore/src/gen-py

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.