Persisting to hbase via pig using
org.apache.pig.backend.hadoop.hbase.HBaseStorage when originating for a
delimited text file does not work
-------------------------------------------------------------------------------------------------------------------------------------------
Key: PIG-2105
URL: https://issues.apache.org/jira/browse/PIG-2105
Project: Pig
Issue Type: Bug
Affects Versions: 0.8.1
Reporter: Albert Sunwoo
Using hbase table created via shell:
create 'hbase_test', 'cf'
The following pig example could not persist to hbase_test:
FIELDS_FROM_FILE = LOAD '/<some dir>/data-00000' USING PigStorage('\u0001') AS (
field1:long,
field2:chararray
);
HBASE_FIELDS = FOREACH FIELDS_FROM_FILE GENERATE field1 as field1, field2 as
field2;
STORE HBASE_FIELDS into 'hbase_test' USING
org.apache.pig.backend.hadoop.hbase.HBaseStorage('cf:field2');
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira