pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohini Palaniswamy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2920) e2e tests override PERL5LIB environment variable
Date Tue, 25 Sep 2012 05:57:08 GMT

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

View raw message