You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org> on 2012/09/13 16:16:07 UTC

[jira] [Created] (PIG-2920) e2e tests override PERL5LIB environment variable

Gianmarco De Francisci Morales created PIG-2920:
---------------------------------------------------

             Summary: e2e tests override PERL5LIB environment variable
                 Key: PIG-2920
                 URL: https://issues.apache.org/jira/browse/PIG-2920
             Project: Pig
          Issue Type: Bug
            Reporter: Gianmarco De Francisci Morales
            Assignee: Gianmarco De Francisci Morales
            Priority: Minor
         Attachments: PIG-2920.patch

I am not sure why but e2e tests set PERL5LIB like this:
{code}
<env key="PERL5LIB" value="./libexec"/>
{code}

This overrides any env variable, so there is no way to use custom Perl installations.

This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Gianmarco De Francisci Morales updated PIG-2920:
------------------------------------------------

    Attachment: PIG-2920.patch
    
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Gianmarco De Francisci Morales updated PIG-2920:
------------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11
           Status: Resolved  (was: Patch Available)
    
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>             Fix For: 0.11
>
>         Attachments: PIG-2920.2.patch, PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Rohini Palaniswamy commented on PIG-2920:
-----------------------------------------

Removing it altogether might cause tests to fail as test/e2e/pig/testdist/libexec has some perl modules.

Can you instead set a property with default value as ./libexec and use the property name in the env element. It would be similar to other overridable properties with default value like harness.PH_LOCAL.
                
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Gianmarco De Francisci Morales updated PIG-2920:
------------------------------------------------

    Status: Patch Available  (was: Open)
    
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PIG-2920) e2e tests override PERL5LIB environment variable

Posted by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467212#comment-13467212 ] 

Gianmarco De Francisci Morales commented on PIG-2920:
-----------------------------------------------------

Committed to trunk.
Thanks!
                
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.2.patch, PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Jonathan Coveney commented on PIG-2920:
---------------------------------------

+1. Good call, Rohini
                
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.2.patch, PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Rohini Palaniswamy commented on PIG-2920:
-----------------------------------------

+1 non-binding.
                
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.2.patch, PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2920) e2e tests override PERL5LIB environment variable

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

Gianmarco De Francisci Morales updated PIG-2920:
------------------------------------------------

    Attachment: PIG-2920.2.patch

Addressed the comments by Rohini.

Now the user can set the property harness.PERL5LIB to control the PERL5LIB environment variable in the tests.
                
> e2e tests override PERL5LIB environment variable
> ------------------------------------------------
>
>                 Key: PIG-2920
>                 URL: https://issues.apache.org/jira/browse/PIG-2920
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>         Attachments: PIG-2920.2.patch, PIG-2920.patch
>
>
> I am not sure why but e2e tests set PERL5LIB like this:
> {code}
> <env key="PERL5LIB" value="./libexec"/>
> {code}
> This overrides any env variable, so there is no way to use custom Perl installations.
> This patch just removes the line, thus we will rely on the user to configure PERL5LIB appropriately.
> With this modification I am able to use my custom Perl installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira