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

Thejas M Nair updated PIG-2095:
-------------------------------

    Labels: newbie  (was: )

> pig start script doesn't collect libs properly when "hadoop" is part of 
> PIG_HOME
> --------------------------------------------------------------------------------
>
>                 Key: PIG-2095
>                 URL: https://issues.apache.org/jira/browse/PIG-2095
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>         Environment: pig is installed in a directory containing the phrase 
> "hadoop"
>            Reporter: Bernd Fondermann
>              Labels: newbie
>
> bin/pig contains this loop:
> 141   # libraries in the lib dir, so don't blindly add them all. Only add the 
> one
> 142   # that matche PIG_HADOOP_VERSION.
> 143   for f in $PIG_HOME/lib/*.jar; do
> 144   IS_HADOOP=`echo $f | grep hadoop`
> ...
> 153   done 
> IS_HADOOP is always true if pig is installed in a directory containing the 
> phrase "hadoop", like "/home/hadoop/pig-8.1.0/"
> as a consequence, all lib/ jars are dropped from the classpath.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to