Hello list,
I have a file in my Hdfs and I am reading this file and trying to
store the data into an HBase table through Pig Shell. Here are the commands
I am using :i
z = load '/mapin/testdata2.csv/part-m-0' using PigStorage(',') as
(rowkey:int, id:int, age:float, gender:chararray,
I don't think there is any problem with that as I am able to execute other
queries, like loading data from an HBase table and storing it into another
HBase table.
Regards,
Mohammad Tariq
On Mon, Sep 3, 2012 at 1:57 PM, shashwat shriparv dwivedishash...@gmail.com
wrote:
What can conclude
STORE raw_data INTO ‘hbase://sample_names’ USING
org.apache.pig.backend.hadoop.hbase.HBaseStorage (
‘info:fname info:lname’);
As above is the example of the HBaseStorage,
1. it take the column family and value( internally it is separated by
space as u have given comma for separation this might
Thank you for the response. But even after removing the comma it's not
working. I have noticed 2 strange things here :
1- If I am reading data from HBase and putting it back in some HBase table
it works fine.
2- When I am trying the same thing using older versions, HBase(0.90.4) and
Pig(0.9.1), it