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

David Medinets commented on PIG-3880:
-------------------------------------

{noformat}
$ 
PIG_CLASSPATH=/home/566453/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar
 pig -x mapreduce my_script.pig
14/04/23 12:30:26 INFO pig.ExecTypeProvider: Trying ExecType : LOCAL
14/04/23 12:30:26 INFO pig.ExecTypeProvider: Trying ExecType : MAPREDUCE
14/04/23 12:30:26 INFO pig.ExecTypeProvider: Picked MAPREDUCE as the ExecType
2014-04-23 12:30:26,793 [main] INFO  org.apache.pig.Main - Apache Pig version 
0.13.0-SNAPSHOT (r1587299) compiled Apr 15 2014, 09:16:52
2014-04-23 12:30:26,793 [main] INFO  org.apache.pig.Main - Logging error 
messages to: /home/566453/pig_1398270626790.log
2014-04-23 12:30:26,839 [main] ERROR org.apache.pig.Main - ERROR 2998: 
Unhandled internal error. 
org/apache/commons/io/input/ClassLoaderObjectInputStream
Details at logfile: /home/566453/pig_1398270626790.log
{noformat}

> After compiling trunk, I am seeing ClassLoaderObjectInputStream 
> ClassNotFoundException.
> ---------------------------------------------------------------------------------------
>
>                 Key: PIG-3880
>                 URL: https://issues.apache.org/jira/browse/PIG-3880
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: 0.13.0
>            Reporter: David Medinets
>
> I pulled trunk from subversion using the following commands:
> mkdir pig
> cd pig
> svn co http://svn.apache.org/repos/asf/pig/trunk
> cd trunk
> ant
> export PATH=$PATH:$HOME/pig/trunk/bin
> export ACCUMULO_HOME=/opt/accumulo
> export HADOOP_HOME=/opt/hadoop
> export PIG_HOME=$HOME/pig/trunk
> export PIG_CLASSPATH="$HOME/pig/trunk/build/ivy/lib/Pig/*"
> export PIG_CLASSPATH="$ACCUMULO_HOME/lib/*:$PIG_CLASSPATH"
> cd ~
> pig
> Then I ran into this error:
> java.lang.NoClassDefFoundError: 
> org/apache/commons/io/input/ClassLoaderObjectInputStream
>       at org.apache.pig.Main.run(Main.java:399)
> When I change PIG_JAR to use the fat jar, I was able to run the pig command 
> without getting the exception.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to