[ 
https://issues.apache.org/jira/browse/PIG-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711550#comment-13711550
 ] 

vikram s commented on PIG-3382:
-------------------------------

1.create table in hbase with more than 2 column families.
  create 'test_table','cf1',cf2','cf3','cf4'
2.Now copy and execute following lines in pig

copyFromLocal /etc/passwd passwd;
passwd_load = load 'passwd' using PigStorage(':') as 
(c1:chararray,c2:chararray,c3:chararray,c4:chararray);
store passwd_load into  'hbase://test_table' USING 
org.apache.pig.backend.hadoop.hbase.HBaseStorage('cf1:c1 cf2:c2 cf3:c3 cf:c4');

You will get ArrayIndexOutOfBoundException in HbaseStorage()

                
> Store data in hbase with more than 2 column family
> --------------------------------------------------
>
>                 Key: PIG-3382
>                 URL: https://issues.apache.org/jira/browse/PIG-3382
>             Project: Pig
>          Issue Type: Improvement
>          Components: build, internal-udfs, parser
>            Reporter: vikram s
>
> I am not able to store data in HBase with more than 2 column families.
> I used STORE api from pig with internal-udf 
> org.apache.pig.backend.hadoop.hbase.HBaseStorage

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to