incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <>
Subject [jira] [Updated] (HCATALOG-14) Make it possible to build HCatalog using the HCatalog Git mirror
Date Sat, 30 Apr 2011 00:40:03 GMT


Jakob Homan updated HCATALOG-14:

    Attachment: hcat-git.patch

Attached patch adds hive as a git submodule, which gits it to build for me under git.  Also
adds a git-init ant task which would be necessary initially.

Git submodules aren't exactly the same as svn externs, particularly in that you can't point
them at specific revisions (per my reading), so this will work as long as we're tracking with
trunk.  Cutting release branches will be more difficult, but I think this patch should go
in to save developers from svn hell.

I cloned the hcat repository at and applied this patch,
if anyone wants to test it.  I had trouble applying it against the svn checkout as this patch
tries to create hive/extern, which already exists.  But this shouldn't cause a problem.  

I'm not a git expert, so there may be issues I'm not aware of, but this works for me.

> Make it possible to build HCatalog using the HCatalog Git mirror
> ----------------------------------------------------------------
>                 Key: HCATALOG-14
>                 URL:
>             Project: HCatalog
>          Issue Type: Improvement
>            Reporter: Carl Steinbach
>         Attachments: hcat-git.patch
> There's a Git mirror of the HCatalog SVN repository available here: git://
> However, right now it's not possible to build HCatalog using the Git mirror because of
the svn:external dependency on Hive:
> % ant 
> Buildfile: /Users/carl/Work/repos/hcatalog/build.xml
> hive.jar:
> /Users/carl/Work/repos/hcatalog/build.xml:202: Basedir /Users/carl/Work/repos/hcatalog/hive/external
does not exist
> Total time: 0 seconds

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message