Mithun Radhakrishnan created HCATALOG-556:
---------------------------------------------

             Summary: HCatalog-trunk doesn't build against Hive-0.10.0
                 Key: HCATALOG-556
                 URL: https://issues.apache.org/jira/browse/HCATALOG-556
             Project: HCatalog
          Issue Type: Bug
            Reporter: Mithun Radhakrishnan
            Assignee: Mithun Radhakrishnan
             Fix For: 0.5


When one builds hcatalog-trunk/ against latest in hive-branch-0.10/, one sees 
compile errors, along the following lines:

<excerpt>

compile:
     [echo] hcatalog-core
    [javac] Compiling 1 source file to 
/Users/mithunr/workspace/dev/hcatalog/trunk.move.to.hive10/core/build/classes
    [javac] 
/Users/mithunr/workspace/dev/hcatalog/trunk.move.to.hive10/core/src/main/java/org/apache/hcatalog/har/HarOutputCommitterPostProcessor.java:50:
 cannot find symbol
    [javac] symbol  : variable Constants
    [javac] location: class 
org.apache.hcatalog.har.HarOutputCommitterPostProcessor
    [javac]         partition.getParameters().put(Constants.IS_ARCHIVED, 
"true");
    [javac]                                       ^
    [javac] 1 error

</excerpt>

The reason for these code breaks is HIVE-2715. Some of the thrift-generated 
class names have been changed (in conjunction with the move to thrift-9.)

The reason why these are not evident in trunk-builds at the moment is that the 
latest artifacts posted on repository.apache.org are outdated (i.e. 
pre-HIVE-2715.)
https://repository.apache.org/content/groups/snapshots/org/apache/hive/hive-metastore/0.10.0-SNAPSHOT/

Once the artifacts are updated, these problems should come to the fore. I'm 
working through the failures right now. I'll post a patch soon-ish.


--
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