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

Switch to Plain View
Pig >> mail # user >> ERROR 2999: Unexpected internal error. null


Copy link to this message
-
ERROR 2999: Unexpected internal error. null
Hi folks,

I am new to pig, and I am trying to get the basic pig + cassandra samples working.

I have created the PigTest Keyspace, and I am trying to run some of the command in test_storage.pig, but I get the following:
tsunami:pig schappetj$ bin/pig_cassandra -x local
Using /Library/pig-0.10.0/pig-0.10.0.jar.
2012-12-05 12:28:50,415 [main] INFO  org.apache.pig.Main - Logging error messages to: /Library/apache-cassandra-1.1.7-src/examples/pig/pig_1354732130411.log
2012-12-05 12:28:50,616 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
2012-12-05 12:28:50.701 java[17814:1c03] Unable to load realm info from SCDynamicStore
grunt> U8 = load 'cassandra://PigTest/U8' using CassandraStorage();
2012-12-05 12:28:54,084 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999: Unexpected internal error. null
Details at logfile: /Library/apache-cassandra-1.1.7-src/examples/pig/pig_1354732130411.log
grunt>

 /Library/apache-cassandra-1.1.7-src/examples/pig/pig_1354732130411.log
Pig Stack Trace
---------------
ERROR 2999: Unexpected internal error. null

java.lang.NullPointerException
        at org.apache.cassandra.utils.Hex.hexToBytes(Hex.java:51)
        at org.apache.cassandra.hadoop.ConfigHelper.predicateFromString(ConfigHelper.java:206)
        at org.apache.cassandra.hadoop.ConfigHelper.getInputSlicePredicate(ConfigHelper.java:176)
        at org.apache.cassandra.hadoop.pig.CassandraStorage.setLocation(CassandraStorage.java:567)
        at org.apache.cassandra.hadoop.pig.CassandraStorage.getSchema(CassandraStorage.java:600)
        at org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(LOLoad.java:150)
        at org.apache.pig.newplan.logical.relational.LOLoad.getSchema(LOLoad.java:109)
        at org.apache.pig.newplan.logical.visitor.LineageFindRelVisitor.visit(LineageFindRelVisitor.java:100)
        at org.apache.pig.newplan.logical.relational.LOLoad.accept(LOLoad.java:218)
        at org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.java:75)
        at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)
        at org.apache.pig.newplan.logical.visitor.CastLineageSetter.<init>(CastLineageSetter.java:57)
        at org.apache.pig.PigServer$Graph.compile(PigServer.java:1679)
        at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1610)
        at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1582)
        at org.apache.pig.PigServer.registerQuery(PigServer.java:584)
        at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:942)
        at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:188)
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:164)
        at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
        at org.apache.pig.Main.run(Main.java:495)
        at org.apache.pig.Main.main(Main.java:111)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

PIG 0.10.0
Cassandra 1.1.7 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

+
James Schappet 2012-12-10, 18:06
+
Jonathan Coveney 2012-12-11, 18:00
+
William Oberman 2012-12-11, 18:50
+
Jonathan Coveney 2012-12-11, 19:10
+
James Schappet 2012-12-11, 19:13
+
William Oberman 2012-12-11, 19:20