I want load data through pig & process it into HBase. I have load text file on to HDFS. and then I have used below commands on pig.
A = LOAD '/tmp/hive-Vijay.Shinde/file.txt' USING PigStorage(',')
as (strdata1:chararray, strdata2:int);
then i used ,
STORE A INTO 'mydata' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('mycf:strdata2');
mydata is table in HBase.
It gives error: Unhandled internal error
Also you can check your debug logs with web interface . if you are running cluster locally use localhost/jobtracker.jsp
This will give you the more useful log information about job.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With