|
I tried to run the following pig command to load the data from hdfs to hbase:- A = LOAD 'hdfs://bXXXXX/user/user1/development/hbase/output/part-00000' USING PigStorage('t') as (strdata1:chararray, strdata2:chararray);
STORE A INTO 'hbase://mydata' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('mycf:strdata2');
where,
hdfs://bXXXXXXX/user/user1/development/hbase/output/part-00000 is the map-reduce output
mydata is the hbase table name created
mycf is the column family name
I am getting the following error:- ERROR 2017: Internal error creating job configuration. |
|
hbase://mydata_logs is not syntactically correct. Please fix. Either use "mydata_logs" directly, or give the full pathname to mydata_logs. |
|
This forum answers questions for hadoop implementations on MapRFS. For any queries on HDFS, please use the hdfs-user mailing lists http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-user/ What Nabeel says is correct, but issue seems to be in your hbase configuration, possibly on the pig side. The key is the part about having a relative path in an absolute URI.
(12 Apr '12, 06:06)
TedDunning ♦♦
|