pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3880) After compiling trunk, I am seeing ClassLoaderObjectInputStream ClassNotFoundException.
Date Wed, 23 Apr 2014 04:01:17 GMT

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

Josh Elser commented on PIG-3880:
---------------------------------

I'm a bit confused as to what you're showing here. Where is this "dry run:" output coming
from? Can you verify that the following does (not) work:

{{PIG_CLASSPATH=/home/566453/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar pig
-x mapreduce my_script.pig}}

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

Mime
View raw message