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

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

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

Rohini Palaniswamy commented on PIG-4620:
-----------------------------------------

[~achirita],
   We have users running with hbase://SampleNamespace:SampleTableCopy for quite a while now and it works fine. There is no URI validation errors. What error are you getting?

> 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
>              Labels: hbase, patch
>         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)