I was able to resolr this issue by removing Hadoop from the class path. On Wednesday, December 12, 2012, aaron morton wrote:
> there is about 3 checks that should have caught the Null. > > at > org.apache.cassandra.hadoop.ConfigHelper.getInputSlicePredicate(ConfigHelper.java:176) > > This line does not match the source code for the 1.2.0-beta3 tag. > > Can you try it with the 1.1.7 bin distro ? > > Cheers > > ----------------- > Aaron Morton > Freelance Cassandra Developer > New Zealand > > @aaronmorton > http://www.thelastpickle.com > > On 13/12/2012, at 6:04 AM, James Schappet <jschap...@gmail.com> wrote: > > When trying to run the example-script.pig, I get the following error, null > error. > > > > > tsunami:pig schappetj$ bin/pig_cassandra -x local example-script.pig > Using /Library/pig-0.10.0/pig-0.10.0.jar. > 2012-12-12 11:02:54,079 [main] INFO org.apache.pig.Main - Apache Pig > version 0.10.0 (r1328203) compiled Apr 20 2012, 00:33:25 > 2012-12-12 11:02:54,079 [main] INFO org.apache.pig.Main - Logging error > messages to: > /Library/apache-cassandra-1.2.0-beta3-src/examples/pig/pig_1355331774074.log > 2012-12-12 11:02:54.211 java[78283:1c03] Unable to load realm info from > SCDynamicStore > 2012-12-12 11:02:54,400 [main] INFO > org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - > Connecting to hadoop file system at: file:/// > 2012-12-12 11:02:54,890 [main] ERROR org.apache.pig.tools.grunt.Grunt - > ERROR 1200: null > Details at logfile: > /Library/apache-cassandra-1.2.0-beta3-src/examples/pig/pig_1355331774074.log > > > > > > PIG 0.10.0 > Cassandra 1.2.0-Beta3 w/source > > ENV Osx Lion: > $ java -version > java version "1.7.0_04" > Java(TM) SE Runtime Environment (build 1.7.0_04-b21) > Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) > > set | grep PIG > PIG_HOME=/Library/pig-0.10.0 > PIG_INITIAL_ADDRESS=localhost > PIG_PARTITIONER=org.apache.cassandra.dht.RandomPartitioner > PIG_RPC_PORT=9160 > > > > > > > > > Pig Stack Trace > --------------- > ERROR 1200: null > > org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error > during parsing. null > at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1597) > at > org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1540) > at org.apache.pig.PigServer.registerQuery(PigServer.java:540) > at > org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:970) > at > org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386) > at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:189) > at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165) > at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:84) > >