[ https://issues.apache.org/jira/browse/HCATALOG-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536018#comment-13536018 ]
Travis Crawford commented on HCATALOG-556: ------------------------------------------ Patching this in & building (please use {{git diff --no-prefix}} for patches to apply cleanly) I got the following error: {code} compile: [echo] webhcat-java-client [mkdir] Created dir: /Users/travis/src/hcatalog/webhcat/java-client/build/classes [javac] Compiling 10 source files to /Users/travis/src/hcatalog/webhcat/java-client/build/classes [javac] /Users/travis/src/hcatalog/webhcat/java-client/src/main/java/org/apache/hcatalog/api/HCatClientHMSImpl.java:649: exception org.apache.hadoop.hive.metastore.api.NoSuchObjectException has already been caught [javac] } catch (NoSuchObjectException e) { [javac] ^ [javac] Note: /Users/travis/src/hcatalog/webhcat/java-client/src/main/java/org/apache/hcatalog/api/HCatCreateTableDesc.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error {code} NoSuchObjectException extends TException, so we simply need to reorder the caught exceptions so TException is caught last. > 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 > Priority: Blocker > Fix For: 0.5 > > Attachments: HCATALOG-556.2.patch, HCATALOG-556.patch > > > 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