hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1293) pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
Date Fri, 12 Mar 2010 00:42:27 GMT

     [ https://issues.apache.org/jira/browse/PIG-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated PIG-1293:
----------------------------------

    Attachment: PIG-1293.txt

Since we require bash, we can cheat a bit.  BASH_SOURCE should contain the full path to the
script that we are executing.  This means we can ... piggyback... off of that variable to
figure out where our real PIG_HOME is at.

> pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
> -----------------------------------------------------------------------------
>
>                 Key: PIG-1293
>                 URL: https://issues.apache.org/jira/browse/PIG-1293
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Allen Wittenauer
>         Attachments: PIG-1293.txt
>
>
> If PIG_HOME isn't set and pig is in the path, the pig wrapper script can't find its home.
 Setting PIG_HOME makes it hard to support multiple versions of pig. 

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


Mime
View raw message