You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hcatalog-commits@incubator.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2011/05/02 18:26:03 UTC

[jira] [Updated] (HCATALOG-14) Make it possible to build HCatalog using the HCatalog Git mirror

     [ https://issues.apache.org/jira/browse/HCATALOG-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HCATALOG-14:
--------------------------------

    Attachment: hcat-git-2.patch

Actually, I was wrong.  Git tracks specific revisions, which is want we want in the long term but not in the short, since pointing at the 7 branch breaks the compile.  Here's a patch that does this.  Unfortunately, there's no way to apply it via subversion since git sets a property on the external folder (the specific revision to point to, currently at 6e7d9afd4b6f2118fb173aa516f9e53ae8f6f2f6, the 7 branch).

I can't see a way to set this git property via svn.  Anyone know?  In the meantime, it works for me to apply this against my working branches, which lets me work on hcat from git.  I can then un-apply this patch before generating the actual patch I'm aiming for.

In the long term, since git doesn't support externals, it's probably best to focus on removing the hive extern.  I'll ask on Stack Overflow about the svn property, in case I'm missing something.

> Make it possible to build HCatalog using the HCatalog Git mirror
> ----------------------------------------------------------------
>
>                 Key: HCATALOG-14
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-14
>             Project: HCatalog
>          Issue Type: Improvement
>            Reporter: Carl Steinbach
>         Attachments: hcat-git-2.patch, hcat-git.patch
>
>
> There's a Git mirror of the HCatalog SVN repository available here: git://git.apache.org/hcatalog.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:
> BUILD FAILED
> /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: http://www.atlassian.com/software/jira