pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashant Kommireddi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3261) User set PIG_CLASSPATH entries must be prepended to the CLASSPATH, not appended
Date Thu, 04 Apr 2013 04:09:17 GMT

    [ https://issues.apache.org/jira/browse/PIG-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621742#comment-13621742

Prashant Kommireddi commented on PIG-3261:

Thanks Koji, that's a good explanation for needing PIG_USER_CLASSPATH_FIRST.

Harsh, you can find reference to PIG_CLASSPATH here http://pig.apache.org/docs/r0.11.1/start.html#Running+the+Pig+Scripts+in+Mapreduce+Mode

I think you can add a note there (suggesting its optional) regarding PIG_USER_CLASSPATH_FIRST.
> User set PIG_CLASSPATH entries must be prepended to the CLASSPATH, not appended
> -------------------------------------------------------------------------------
>                 Key: PIG-3261
>                 URL: https://issues.apache.org/jira/browse/PIG-3261
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.10.0
>            Reporter: Harsh J
>            Assignee: Harsh J
>         Attachments: PIG-3261.patch, PIG-3261.patch
> Currently we are doing this wrong:
> {code}
> if [ "$PIG_CLASSPATH" != "" ]; then
> {code}
> This means that anything added to CLASSPATH until that point will never be able to get
overridden by a user set environment, which is wrong behavior. Hadoop libs for example are
added to CLASSPATH, before this extension is called in bin/pig.

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