hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michi Mutsuzaki (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HIVE-87) Clean up thrift-related files
Date Sun, 30 Nov 2008 06:07:44 GMT

    [ 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:07 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.


Mime
View raw message