hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars
Date Mon, 01 Feb 2010 22:29:18 GMT

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

John Sichi updated HIVE-1120:

    Attachment: HIVE-1120.1.patch

Here's the ivy upgrade patch.

After applying this patch, you need to do

cd ~
rm -rf .ant

Otherwise you'll get a build error from your old cached ivy version.  This is necessary regardless
of whether you're using offline mode or not.  Once this patch is committed, I'll broadcast
a notice to that effect to hive-dev.

Besides the ivy upgrade, here are some other notes on the change:

* In online mode (the default), everything should continue to work exactly as before (ant
clean will blow away the entire build directory)
* In offline mode, ant clean will leave behind build/ivy (deleting everything else under build)
to avoid the need to re-download ivy on the next sync
* In offline mode, on the first "ant package" after "ant clean", ant will re-expand archives
from the ~/.ant/cache into the build dir, thus avoiding a download, although it will still
exchange a few messages with remote repos--but if the remote repos are not available, it will
keep going with warnings, so once you've downloaded everything, you can go off the grid to
hack away disconnected while still using ant clean as needed
* In offline mode, repeated execution of "ant package" (without "ant clean" in the middle)
will skip ivy entirely, same as before this patch

> In ivy offline mode, don't delete downloaded jars
> -------------------------------------------------
>                 Key: HIVE-1120
>                 URL: https://issues.apache.org/jira/browse/HIVE-1120
>             Project: Hadoop Hive
>          Issue Type: Improvement
>    Affects Versions: 0.6.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>         Attachments: HIVE-1120.1.patch
> Once jars have been successfully downloaded, it would be good for developer productivity
to be able to do
> ant -Doffline=true clean && package
> Currently this won't work because the clean will delete the downloaded jars.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message