Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Pigunit Failure 10.1 running locally

Copy link to this message
Pigunit Failure 10.1 running locally
j.barrett Strausser 2013-04-10, 14:05
Greetings all,

I am trying to run Pigunit and receiving an error. I had this previously
working, but had to rebuild my local workstation and didn't have everything
I should have had checked in. This is too deep into pig/hadoop for me to
effectively debug.

I'm using scala so my versions/dependencies look like :

libraryDependencies += "org.apache.pig" % "pig" % "0.10.1"

libraryDependencies += "org.apache.hadoop" % "hadoop-common" % "2.0.3-alpha"

libraryDependencies += "org.apache.hadoop" % "hadoop-core" % "1.1.2"

I built the pigunit.jar file by hand as instructed in the docs.

Any thoughts?

The error is :

java.lang.VerifyError: (class:
org/apache/hadoop/mapred/JobTrackerInstrumentation, method: create
Incompatible argument to function
The stack trace is :

[info]   at
[info]   at org.apache.hadoop.mapred.JobClient.init(JobClient.java:488)
[info]   at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:473)
[info]   at
[info]   at org.apache.pig.PigServer.launchPlan(PigServer.java:1279)
[info]   at
[info]   at org.apache.pig.PigServer.storeEx(PigServer.java:961)
[info]   at org.apache.pig.PigServer.store(PigServer.java:928)
[info]   at org.apache.pig.PigServer.openIterator(PigServer.java:841)
[info]   at org.apache.pig.pigunit.PigTest.getAlias(PigTest.java:183)
[info]   ...