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

Mithun Radhakrishnan commented on HIVE-2715:
--------------------------------------------

Hello, Ashutosh.

Was the following file-name changed on purpose?

/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java

The rename breaks the HCatalog-build (when I build Hive from first principles).

<quote>
ompile-src:
    [javac] Compiling 75 source files to 
/Users/mithunr/workspace/dev/hcatalog/trunk/build/classes
    [javac] 
/Users/mithunr/workspace/dev/hcatalog/trunk/src/java/org/apache/hcatalog/har/HarOutputCommitterPostProcessor.java:26:
 cannot find symbol
    [javac] symbol  : class Constants
    [javac] location: package org.apache.hadoop.hive.metastore.api
    [javac] import org.apache.hadoop.hive.metastore.api.Constants;
    [javac]                                            ^
    [javac] 
/Users/mithunr/workspace/dev/hcatalog/trunk/src/java/org/apache/hcatalog/cli/SemanticAnalysis/CreateTableHook.java:219:
 cannot find symbol
    [javac] symbol  : class Constants
    [javac] location: package org.apache.hadoop.hive.metastore.api
    [javac]                         
org.apache.hadoop.hive.metastore.api.Constants.META_TABLE_STORAGE,
</quote>

Any chance you can change the name back?
                
> Upgrade Thrift dependency to 0.9.0
> ----------------------------------
>
>                 Key: HIVE-2715
>                 URL: https://issues.apache.org/jira/browse/HIVE-2715
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.8.0, 0.9.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.10.0
>
>         Attachments: hive-2715_2.patch, hive-2715.patch
>
>
> I work on HCatalog (0.2). Recently, we ran into HCat_server running out of 
> memory every few days, and it boiled down to a bug in thrift, (THRIFT-1468, 
> recently fixed).
> HCat-0.2-branch depends on Hive-0.8, which in turn depends on thrift-0.5.0. 
> (The bug also exists on 0.7.0.)
> May I please enquire if Hive can't depend on a more current version of 
> thrift? (Does it break the metastore?) I'm afraid I'm not privy to the 
> reasoning behind Hive's dependency on a slightly dated thrift-lib. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to