You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2010/01/29 20:58:34 UTC

[jira] Created: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

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


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.


[jira] Work started: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HIVE-1120 started by John Sichi.

> 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
>
>
> 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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829923#action_12829923 ] 

Zheng Shao commented on HIVE-1120:
----------------------------------

Will test and commit.

> 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.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1120.1.patch, HIVE-1120.2.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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828171#action_12828171 ] 

John Sichi commented on HIVE-1120:
----------------------------------

Yes, 2.1.0 was released in Oct 2009.  I'll look into the upgrade.


> 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
>
>
> 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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sichi updated HIVE-1120:
-----------------------------

    Affects Version/s:     (was: 0.6.0)
                       0.5.0
               Status: Patch Available  (was: In Progress)

> 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.5.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sichi updated HIVE-1120:
-----------------------------

    Status: Patch Available  (was: Open)

Resubmitting since this is the expected behavior.

> 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, HIVE-1120.2.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
     [ 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.2.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.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1120.1.patch, HIVE-1120.2.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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828311#action_12828311 ] 

John Sichi commented on HIVE-1120:
----------------------------------

Once you have this patch and have run ivy to download all dependencies, you can set ANT_ARGS="-Doffline=true" in your environment for normal use, then unset it only when you need to let ivy download updated dependencies.

> 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.5.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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829949#action_12829949 ] 

John Sichi commented on HIVE-1120:
----------------------------------

The behavior you're seeing is expected.  In step 4, it is not actually downloading anything from the network; it is copying/unpacking the archives from ~/.ant/cache to hive/build.
This is necessary since we delete everything exception build/ivy as part of ant clean.

You can verify this by disconnecting your network cable before step 4; it will succeed (with a bunch of warning complaints for when it tries to access the remote repo for version checks).

> 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, HIVE-1120.2.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-1120:
---------------------------------

          Component/s: Build Infrastructure
    Affects Version/s:     (was: 0.6.0)
         Release Note:   (was: HIVE-1120. In ivy offline mode, don't delete downloaded jars. (John Sichi via zshao)
)

> In ivy offline mode, don't delete downloaded jars
> -------------------------------------------------
>
>                 Key: HIVE-1120
>                 URL: https://issues.apache.org/jira/browse/HIVE-1120
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1120.1.patch, HIVE-1120.2.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-1120:
-----------------------------

    Affects Version/s:     (was: 0.5.0)
                       0.6.0
               Status: Open  (was: Patch Available)

> 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, HIVE-1120.2.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-1120:
-----------------------------

      Resolution: Fixed
    Release Note: 
HIVE-1120. In ivy offline mode, don't delete downloaded jars. (John Sichi via zshao)

    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks John!

> 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, HIVE-1120.2.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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828026#action_12828026 ] 

Zheng Shao commented on HIVE-1120:
----------------------------------

Is ivy 2.1.0 released? I guess it's not a big problem to upgrade ivy.


> 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
>
>
> 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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829872#action_12829872 ] 

Carl Steinbach commented on HIVE-1120:
--------------------------------------

+1

Be forewarned that if you have manually installed an older version of
Ivy in $ANT_HOME/lib this copy will get picked up in preference to downloading
the newer version. I saw the following error until I deleted the older Ivy JAR
in my $ANT_HOME/lib directory:

{noformat}
ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = /Users/carl/Projects/hd9/hive-trunk/ivy/ivysettings.xml

BUILD FAILED
/Users/carl/Projects/hd9/hive-trunk/build.xml:148: The following error occurred while executing this line:
/Users/carl/Projects/hd9/hive-trunk/build.xml:93: The following error occurred while executing this line:
/Users/carl/Projects/hd9/hive-trunk/shims/build.xml:55: The following error occurred while executing this line:
/Users/carl/Projects/hd9/hive-trunk/build-common.xml:180: impossible to configure ivy:settings with given file: /Users/carl/Projects/hd9/hive-trunk/ivy/ivysettings.xml : java.text.ParseException: failed to load settings from file:/Users/carl/Projects/hd9/hive-trunk/ivy/ivysettings.xml: impossible to set defaultTTL to eternal on class org.apache.ivy.core.cache.DefaultRepositoryCacheManager
{noformat}

> 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.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1120.1.patch, HIVE-1120.2.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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806577#action_12806577 ] 

John Sichi commented on HIVE-1120:
----------------------------------

I looked into doing this via ant changes, but it would involve selectively preserving artifact copies under hive's build directory via excludes in our clean target.

A much better solution is available in IVY-879, but it involves upgrading ivy to 2.1.0.  It's better because it allows us to continue blowing away the build directories entirely and then just refresh from the local cache, without hitting the remote repository.


> 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
>
>
> 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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-1120:
-----------------------------

    Status: Open  (was: Patch Available)

> 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.5.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829478#action_12829478 ] 

Zheng Shao commented on HIVE-1120:
----------------------------------

Hi John, it seems the recent commits of "ant checkstyle" make this patch conflicting with trunk.
Can you regenerate the 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.5.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.


[jira] Commented: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829941#action_12829941 ] 

Zheng Shao commented on HIVE-1120:
----------------------------------

I did the following

{code}
1. ant clean
2. ant package
3. ant -Doffline=true clean
4. ant -Doffline=true package
5. ant -Doffline=true package
{code}

"ant" is checking/downloading hadoop source in command 4. However command 5 is fine: we don't download hadoop source again.
John, can you post the sequence of commands you run to make this work?


> 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, HIVE-1120.2.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.


[jira] Updated: (HIVE-1120) In ivy offline mode, don't delete downloaded jars

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Sichi updated HIVE-1120:
-----------------------------

    Status: Patch Available  (was: Open)

.2.patch resolves conflicts with checkstyle change.

> 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.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1120.1.patch, HIVE-1120.2.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.