Yes, I can reproduce it. It happens when both pig.jar and
pig-0.9.1.jar are in PIG_HOME. I will fix it and roll another
candidate.

Daniel

On Thu, Sep 29, 2011 at 10:43 AM, Alan Gates <[email protected]> wrote:
> I found one very strange issue:
>
> Download and unpackage the tar ball, then do:
>
>> bin/pig -x local
> 2011-09-29 17:39:57,895 [main] INFO  org.apache.pig.Main - Logging error 
> messages to: /homes/hortonal/tmp/pig-0.9.1/pig-0.9.1/pig_1317317997892.log
> 2011-09-29 17:39:58,051 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting 
> to hadoop file system at: file:///
>
> (as expected)
>
>> ant jar
> ...
>
>> bin/pig -x local
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> /homes/hortonal/tmp/pig-0/9/1/pig-0/9/1/bin////pig/jar
> Caused by: java.lang.ClassNotFoundException: 
> .homes.hortonal.tmp.pig-0.9.1.pig-0.9.1.bin....pig.jar
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>
> Building the jars and putting them in the local directory is confusing the 
> pig shell script somehow.
>
> Alan.
>
> On Sep 28, 2011, at 11:26 AM, Daniel Dai wrote:
>
>> Hi,
>>
>> I have created a candidate build for Pig 0.9.1. This is a maintenance
>> release of Pig 0.9. It also adds
>> rpm/deb release in addition to traditional tarball release.
>>
>> The rat report showed no issues in Java files outside of build directory.
>>
>> Keys used to sign the release are available at
>> http://svn.apache.org/viewvc/pig/trunk/KEYS?view=markup.
>>
>> Please download, test, and try it out:
>>
>> http://people.apache.org/~daijy/pig-0.9.1-candidate-0
>>
>> Should we release this? Vote closes on Friday EOD, Sep 30th.
>>
>> Daniel
>
>

Reply via email to