Dmitriy, Does the HBaseStorage class from Pig 0.8.1 and HBase 90.3 work together? We just upgraded our HBase cluster and a developer found some issues and we aren't sure if they are related to the upgrade.
On Tue, Jul 26, 2011 at 12:16 PM, Dmitriy Ryaboy <[email protected]> wrote: > Vincent, can you try replacing the HBase classes with those from trunk? > A couple of fixes went in that might address that. > Also, make sure you are running 0.90.3 > > D > > On Tue, Jul 26, 2011 at 10:40 AM, Vincent Barat <[email protected] > >wrote: > > > Hi, > > > > I'm using PIG 0.8.1 with HBase 0.90 and the following script sometime > > returns an empty set, and sometimes work ! > > > > > > start_sessions = LOAD 'startSession' USING > org.apache.pig.backend.hadoop.* > > *hbase.HBaseStorage('meta:sid meta:infoid meta:imei meta:timestamp') AS > > (sid:chararray, infoid:chararray, imei:chararray, start:long); > > end_sessions = LOAD 'endSession' USING > org.apache.pig.backend.hadoop.**hbase.HBaseStorage('meta:sid > > meta:timestamp meta:locid') AS (sid:chararray, end:long, > locid:chararray); > > infos = LOAD 'info.mde253811.preprod.**ubithere.com< > http://info.mde253811.preprod.ubithere.com>' > > USING org.apache.pig.backend.hadoop.**hbase.HBaseStorage('meta:**infoid') > > AS (infoid:chararray); > > sessions = JOIN start_sessions BY sid, end_sessions BY sid; > > sessions = JOIN sessions BY infoid, infos BY infoid; > > dump sessions; > > > > (dumping the "infos" before the sessions seems to make it work) > > > > > > Any idea about this very irritating behavior ? > > >
