You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jeff Hodges (JIRA)" <ji...@apache.org> on 2009/12/25 07:10:29 UTC

[jira] Created: (PIG-1173) pig cannot be built without an internet connection

pig cannot be built without an internet connection
--------------------------------------------------

                 Key: PIG-1173
                 URL: https://issues.apache.org/jira/browse/PIG-1173
             Project: Pig
          Issue Type: Bug
            Reporter: Jeff Hodges
            Priority: Minor


Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Updated: (PIG-1173) pig cannot be built without an internet connection

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

Jeff Hodges updated PIG-1173:
-----------------------------

    Attachment: offlinebuild-v2.patch

Fixed paths in patch. Should now apply with patch -p0 instead of p-level 1.

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild-v2.patch, offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Commented: (PIG-1173) pig cannot be built without an internet connection

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796564#action_12796564 ] 

Daniel Dai commented on PIG-1173:
---------------------------------

+1, will commit patch shortly.

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild-v2.patch, offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Commented: (PIG-1173) pig cannot be built without an internet connection

Posted by "Jeff Hodges (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794555#action_12794555 ] 

Jeff Hodges commented on PIG-1173:
----------------------------------

Apologies. I left out the implicit knowledge that ant must have "-Doffline=true" passed to it. This also assumes that you have the dependencies already downloaded.

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Closed: (PIG-1173) pig cannot be built without an internet connection

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

Daniel Dai closed PIG-1173.
---------------------------


> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hodges
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: offlinebuild-v2.patch, offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Updated: (PIG-1173) pig cannot be built without an internet connection

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

Jeff Hodges updated PIG-1173:
-----------------------------

    Attachment: offlinebuild.patch

Patch to allow for offline building.

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Updated: (PIG-1173) pig cannot be built without an internet connection

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

Daniel Dai updated PIG-1173:
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Patch committed. Thanks Jeff!

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: offlinebuild-v2.patch, offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Commented: (PIG-1173) pig cannot be built without an internet connection

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794545#action_12794545 ] 

Daniel Dai commented on PIG-1173:
---------------------------------

Hi, Jeff,
I tried your patch, but I still get this error when I offline, any clue?

[get] Error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar to /home/jianyong/pig/ivy/ivy-2.0.0-rc2.jar

BUILD FAILED
java.net.UnknownHostException: repo2.maven.org

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Assigned: (PIG-1173) pig cannot be built without an internet connection

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

Alan Gates reassigned PIG-1173:
-------------------------------

    Assignee: Jeff Hodges

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hodges
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: offlinebuild-v2.patch, offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Commented: (PIG-1173) pig cannot be built without an internet connection

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794558#action_12794558 ] 

Hadoop QA commented on PIG-1173:
--------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12428943/offlinebuild.patch
  against trunk revision 893827.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/164/console

This message is automatically generated.

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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


[jira] Updated: (PIG-1173) pig cannot be built without an internet connection

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

Jeff Hodges updated PIG-1173:
-----------------------------

    Status: Patch Available  (was: Open)

> pig cannot be built without an internet connection
> --------------------------------------------------
>
>                 Key: PIG-1173
>                 URL: https://issues.apache.org/jira/browse/PIG-1173
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Hodges
>            Priority: Minor
>         Attachments: offlinebuild.patch
>
>
> Pig's build.xml does not allow for offline building even when it's been built before. This is because the ivy-download target has not conditional associated with it to turn it off. The Hadoop seems to be adding an unless="offline" to the ivy-download target.

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