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

Switch to Threaded View
Pig >> mail # user >> Pig HBaseStorage error


Copy link to this message
-
Re: Pig HBaseStorage error
HBase CF names are case sensitive, so you're query might be off since
you're using lowercase.

If that the problem still persists with the same case, would it be possible
to see if you can reproduce against a Pig build from the trunk?
On Mon, Aug 13, 2012 at 8:28 AM, Mohit Anchlia <[EMAIL PROTECTED]>wrote:

>
>
> On Sun, Aug 12, 2012 at 11:26 PM, Bill Graham <[EMAIL PROTECTED]>wrote:
>
>> This seems to be the problem:
>>
>> Caused by: java.lang.NullPointerException
>>         at
>> org.apache.hadoop.hbase.zookeeper.ZKConfig.parseZooCfg(ZKConfig.java:167)
>>
>> Which seems like the Conf is null, which is really odd.
>>
>> http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java?view=markup
>>
>> What version of Pig are you using? Does this happen when using a Pig build
>> from the trunk?
>>
>> I am using .9, strange thing is that when I run load job it works.
>
>>
>> On Sat, Aug 11, 2012 at 7:20 PM, Mohit Anchlia <[EMAIL PROTECTED]
>> >wrote:
>>
>> > I am wondering if my pig script is correct? I took it from some of the
>> > examples from the wiki:
>> >
>> > raw = LOAD 'hbase://SESSION_TIMELINE1'
>> >        USING org.apache.pig.backend.hadoop.hbase.HBaseStorage(
>> >        's_t_mtx:*', '-loadKey true -limit 5')
>> >        AS (id:bytearray, s_t_mtx_map:map[]);
>> > dump raw;
>> >
>> > On Fri, Aug 10, 2012 at 6:01 PM, Mohit Anchlia <[EMAIL PROTECTED]
>> > >wrote:
>> >
>> > > I am running basic pig script but it's failing. There is other job
>> that
>> > > loads data that works.
>> > >
>> > >
>> > >  Pig Stack Trace
>> > > ---------------
>> > > ERROR 2017: Internal error creating job configuration.
>> > > org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066:
>> Unable to
>> > > open iterator for alias raw
>> > >         at org.apache.pig.PigServer.openIterator(PigServer.java:900)
>> > >         at
>> > >
>> org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:655)
>> > >         at
>> > >
>> >
>> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:303)
>> > >         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.exec(Grunt.java:81)
>> > >         at org.apache.pig.Main.run(Main.java:427)
>> > >         at org.apache.pig.Main.main(Main.java:108)
>> > > Caused by: org.apache.pig.PigException: ERROR 1002: Unable to store
>> alias
>> > > raw
>> > >         at org.apache.pig.PigServer.storeEx(PigServer.java:999)
>> > >         at org.apache.pig.PigServer.store(PigServer.java:962)
>> > >         at org.apache.pig.PigServer.openIterator(PigServer.java:875)
>> > >         ... 7 more
>> > > Caused by:
>> > >
>> >
>> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobCreationException:
>> > > ERROR 2017: Internal error creating job configuration.
>> > >         at
>> > >
>> >
>> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:719)
>> > >         at
>> > >
>> >
>> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:258)
>> > >         at
>> > >
>> >
>> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:147)
>> > >         at org.apache.pig.PigServer.launchPlan(PigServer.java:1327)
>> > >         at
>> > >
>> org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1312)
>> > >         at org.apache.pig.PigServer.storeEx(PigServer.java:995)
>> > >         ... 9 more
>> > > Caused by: java.lang.NullPointerException
>> > >         at
>> > >
>> org.apache.hadoop.hbase.zookeeper.ZKConfig.parseZooCfg(ZKConfig.java:167)
>> > >         at
>> > >
>> org.apache.hadoop.hbase.zookeeper.ZKConfig.makeZKProps(ZKConfig.java:69)
*Note that I'm no longer using my Yahoo! email address. Please email me at
[EMAIL PROTECTED] going forward.*