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

Allen Wittenauer commented on PIG-1293:
---------------------------------------

You likely have PIG_HOME configured.

Unset it, then try running bash -x pig and the message about being unable to 
find pig-env.sh won't be hidden by bash.  BTW, the hadoop equiv jira is 
HADOOP-6630, as it suffers from the same problem.

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

Reply via email to