pig doesn't have the thrift jar on its classpath

On Fri, Sep 24, 2010 at 10:32 AM, Mark <static.void....@gmail.com> wrote:
>  I am trying to run the Cassandra pig example but I keep receiving...
>
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to
> open iterator for alias rows
>    at org.apache.pig.PigServer.openIterator(PigServer.java:521)
>    at
> org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:544)
>    at
> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:241)
>    at
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:162)
>    at
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:138)
>    at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75)
>    at org.apache.pig.Main.main(Main.java:357)
> Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1002:
> Unable to store alias rows
>    at org.apache.pig.PigServer.store(PigServer.java:577)
>    at org.apache.pig.PigServer.openIterator(PigServer.java:504)
>    ... 6 more
> Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR 2117:
> Unexpected error when launching map reduce job.
>    at
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:209)
>    at
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:308)
>    at
> org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:835)
>    at org.apache.pig.PigServer.store(PigServer.java:569)
>    ... 7 more
> Caused by: java.lang.RuntimeException: Could not resolve error that occured
> when launching map reduce job: java.lang.NoClassDefFoundError:
> org/apache/thrift/TBase
>    at
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$JobControlThreadExceptionHandler.uncaughtException(MapReduceLauncher.java:510)
>    at java.lang.Thread.dispatchUncaughtException(Thread.java:1855)
>
> Any ideas whats going on?
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Reply via email to