[
https://issues.apache.org/jira/browse/HIVE-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624119#comment-13624119
]
Sushanth Sowmyan commented on HIVE-4278:
----------------------------------------
Travis, the patch you provided is working for me for a base ant run, and it
seems to be picking up the locally built hive artifacts, so that's a good first
step.
It still however is failing for me if I try to do something like this:
{noformat}
ant -Dversion=0.11.0-sush -Dhive.version=0.11.0-sush
{noformat}
The failures are all from it complaining about not finding
"org.apache.hive#hive-builtins;0.11.0-sush!hive-builtins.jar"
(This is what's been driving me crazy - I've been trying to exclude builtins
all over, trying to figure out which dependency is still bringing it in, but
that's been eluding me)
Another couple of notes:
a) In hcatalog/pom.xml :
Ideally, we don't want to specify a different version here if possible, thus
linking hive.version, hcatalog.version and version as specified as the project
version to the root hive build version.
b) ant maven-build currently fails because make-pom is not defined on hcatalog,
and hcatalog is in iterate.hive.all, which is specified for make-pom in the
maven-build target definition. We should also potentially check other targets
using the iterate variables to see that hcat's inclusion doesn't break them.
I'll update if I find any more.
(Note: I'm doing a ant clean && ant very-clean && rm -rf ~/.m2 ~/.ivy2 between
each run)
> HCat needs to get current Hive jars instead of pulling them from maven repo
> ---------------------------------------------------------------------------
>
> Key: HIVE-4278
> URL: https://issues.apache.org/jira/browse/HIVE-4278
> Project: Hive
> Issue Type: Sub-task
> Components: Build Infrastructure, HCatalog
> Affects Versions: 0.11.0
> Reporter: Alan Gates
> Assignee: Travis Crawford
> Priority: Blocker
> Fix For: 0.11.0
>
> Attachments: HIVE-4278.D9981.1.patch
>
>
> The HCatalog build is currently pulling Hive jars from the maven repo instead
> of using the ones built as part of the current build. Now that it is part of
> Hive it should use the jars being built instead of pulling them from maven.
--
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