You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Andi Chirita (JIRA)" <ji...@apache.org> on 2015/07/06 00:46:04 UTC

[jira] [Work started] (PIG-4620) Add namespace support to HBaseStorage

     [ https://issues.apache.org/jira/browse/PIG-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on PIG-4620 started by Andi Chirita.
-----------------------------------------
> Add namespace support to HBaseStorage
> -------------------------------------
>
>                 Key: PIG-4620
>                 URL: https://issues.apache.org/jira/browse/PIG-4620
>             Project: Pig
>          Issue Type: New Feature
>    Affects Versions: 0.15.0
>            Reporter: Andi Chirita
>            Assignee: Andi Chirita
>         Attachments: HBaseStorageNamespace.patch
>
>
> Since version 0.96 HBase introduced namespace support.
> Apace Pig has recently updated the HBase dependency to 0.98.12 (PIG-4544)
> Currently there's no way to specify the namespace for a table.
> I suggest to implement it is using a '-namespace' option.
> {code}
> copy = STORE raw INTO 'hbase://SampleTableCopy'
>        USING org.apache.pig.backend.hadoop.hbase.HBaseStorage(
>        'info:first_name info:last_name friends:* info:*','-namespace SampleNamespace');
> {code}
> We can't use the namespace in the hbase path as it will break the uri validation : 'hbase://SampleNamespace:SampleTableCopy'
> The patch is available. I will look to extend the unittest for the namespace option.
> Please review my changes and let me know if I can help with something.
> Kind regard,
> Andi



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)