I downloaded a jar from mvn repo to be certain was correct version and this problem was resolved..
Pat On Mon, Aug 18, 2014 at 11:25 AM, Patricia Webster <[email protected]> wrote: > My tests were developed using eclipse and a private environment setup on > my Mac. All went well. The goal is to run these tests on a shared client > and offload the test input onto the cluster, and I am working to piece > together the 'project' I have on my Mac. It has been tedious but going okay > locating and pointing to jars needed. I got the pigunit test to compile and > I thought I was on the home stretch but hit the following error which has > me stumped: > > java.lang.NoSuchMethodError: > org.apache.pig.tools.grunt.GruntParser.<init>(Ljava/io/Reader;Lorg/apache/pig/PigServer;)V > > at org.apache.pig.pigunit.pig.GruntParser.<init>(GruntParser.java:53) > > ..... > > I've googled a lot and most of the hits are about things I am not using - > Hive, avro , json etc. I am wondering about how to determine the > compatibility of the jar files. I have used only jars found on the client > where pig jobs and grunt cmd line works fine to the cluster. I do question > the lineage of the pigunit jar. > > GruntParser's jar is in my pigunit jar and in the CLASSPATH. I had a look > at GruntParser and it imports nothing except some stand java stuff io/util > libraries. > > > I am not sure what you need to know but am hoping this error rings a bell > with someone. > > > Thanks > > >
