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


+
Schappet, James C 2012-12-05, 18:43
+
James Schappet 2012-12-10, 18:06
+
Jonathan Coveney 2012-12-11, 18:00
+
William Oberman 2012-12-11, 18:50
Copy link to this message
-
Re: ERROR 2999: Unexpected internal error. null
Sounds like there could be a wrong version on  the classpath then
2012/12/11 William Oberman <[EMAIL PROTECTED]>

> Your line numbers aren't matching up to the 1.1.7 release, which is weird.
>  Based on the "stock" 1.1.7 source, there was a null check on str
> before predicateFromString(str),
> making your code path impossible...
>
> will
>
>
> On Tue, Dec 11, 2012 at 1:00 PM, Jonathan Coveney <[EMAIL PROTECTED]
> >wrote:
>
> > 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)
+
James Schappet 2012-12-11, 19:13
+
William Oberman 2012-12-11, 19:20