Using Pig To Scan Hbase

2014-12-05 Thread Nishanth S
Hey folks, I am trying to write a map reduce in pig against my hbase table.I have a salting in my rowkey appended with reverse timestamps ,so I guess the best way is to do a scan for all the dates that I require to pull out records.Does any one know if pig supports hbase scan out of the box or

Re: Using Pig To Scan Hbase

2014-12-05 Thread Pradeep Gollakota
There is a built in storage handler for HBase. Take a look at the docs at https://pig.apache.org/docs/r0.14.0/api/org/apache/pig/backend/hadoop/hbase/HBaseStorage.html It doesn't support dealing with salted rowkeys (or reverse timestamps) out of the box, so you may have to munge with the data a

Re: Using Pig To Scan Hbase

2014-12-05 Thread Nishanth S
Thank you Pradeep.That was helpful. -Nishan On Fri, Dec 5, 2014 at 11:08 AM, Pradeep Gollakota pradeep...@gmail.com wrote: There is a built in storage handler for HBase. Take a look at the docs at https://pig.apache.org/docs/r0.14.0/api/org/apache/pig/backend/hadoop/hbase/HBaseStorage.html