You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Kim Vogt <ki...@simplegeo.com> on 2010/05/20 19:23:59 UTC
Error trying to register piggybank.jar
Hi all,
I'm playing around with pig 0.7 and am getting an error trying to "register
file:/piggybank.jar". I built piggybank.jar successfully from the contrib
folder, but I'm getting this error when I try to register it:
Pig Stack Trace
---------------
ERROR 4002: Can't read jar file:
file:/usr/lib64/pig/contrib/piggybank/java/piggybank.jar
org.apache.pig.impl.logicalLayer.FrontendException: ERROR 4002: Can't read
jar file: file:/usr/lib64/pig/contrib/piggybank/java/piggybank.jar
at org.apache.pig.PigServer.registerJar(PigServer.java:362)
at
org.apache.pig.tools.grunt.GruntParser.processRegister(GruntParser.java:325)
at
org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:337)
at
org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:168)
at
org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:144)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75)
at org.apache.pig.Main.main(Main.java:363)
================================================================================
Any ideas?
-Kim
Re: Error trying to register piggybank.jar
Posted by Kim Vogt <ki...@simplegeo.com>.
Problem fixed. Removed "file:" :-)
On Thu, May 20, 2010 at 10:23 AM, Kim Vogt <ki...@simplegeo.com> wrote:
> Hi all,
>
> I'm playing around with pig 0.7 and am getting an error trying to "register
> file:/piggybank.jar". I built piggybank.jar successfully from the contrib
> folder, but I'm getting this error when I try to register it:
>
> Pig Stack Trace
> ---------------
> ERROR 4002: Can't read jar file:
> file:/usr/lib64/pig/contrib/piggybank/java/piggybank.jar
>
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 4002: Can't read
> jar file: file:/usr/lib64/pig/contrib/piggybank/java/piggybank.jar
> at org.apache.pig.PigServer.registerJar(PigServer.java:362)
> at
> org.apache.pig.tools.grunt.GruntParser.processRegister(GruntParser.java:325)
> at
> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:337)
> at
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:168)
> at
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:144)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75)
> at org.apache.pig.Main.main(Main.java:363)
>
> ================================================================================
>
> Any ideas?
>
> -Kim
>
>