Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
Re: ERROR 2999: Unexpected internal error. null
If I were debugging this (note, I know nothing about cassandra), I would
put a flag in my ide on cassandra storage and see what is going on in
there, and why it is erroring out. Then I would follow that backwards into
whatever in Pig was generating that issue. That's pretty vague but can't
really say much else unless I knew a ton about CassandraStorage.
2012/12/10 James Schappet <[EMAIL PROTECTED]>

> Any thoughts on how I can start diagnosing this problem?
>
>
> On 12/5/12 12:43 PM, "Schappet, James C" <[EMAIL PROTECTED]> wrote:
>
> >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(ConfigHelp
> >er.java:176)
> >        at
> >org.apache.cassandra.hadoop.pig.CassandraStorage.setLocation(CassandraStor
> >age.java:567)
> >        at
> >org.apache.cassandra.hadoop.pig.CassandraStorage.getSchema(CassandraStorag
> >e.java:600)
> >        at
> >org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(LOL
> >oad.java:150)
> >        at
> >org.apache.pig.newplan.logical.relational.LOLoad.getSchema(LOLoad.java:109
> >)
> >        at
> >org.apache.pig.newplan.logical.visitor.LineageFindRelVisitor.visit(Lineage
> >FindRelVisitor.java:100)
> >        at
> >org.apache.pig.newplan.logical.relational.LOLoad.accept(LOLoad.java:218)
> >        at
> >org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.ja
> >va:75)
> >        at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)
> >        at
> >org.apache.pig.newplan.logical.visitor.CastLineageSetter.<init>(CastLineag
> >eSetter.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(PigScriptParse
> >r.java:386)
> >        at
> >org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:1
> >88)
> >        at
> >org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:1
> >64)
> >        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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB