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 ?
>

Reply via email to