You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "George P. Stathis (JIRA)" <ji...@apache.org> on 2010/10/14 18:14:33 UTC

[jira] Updated: (PIG-1680) Pig 0.8 HBaseStorage may not against HBase 0.89

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

George P. Stathis updated PIG-1680:
-----------------------------------

    Attachment: apply-PIG-1680-patch.sh
                pig-hbase-0.89.SNAPSHOT.patch

See attached patch. 

Also the hbase tests jar contains a test hbase-site.xml which uses 21810 as the zookeeper port instead of the default 2181. This prevents pig from connecting with default zookeeper installations out of the box. The attached shell script puts an hbase-site.xml under $PIG_HOME/conf and changes the port back to the default.

> Pig 0.8 HBaseStorage may not against HBase 0.89
> -----------------------------------------------
>
>                 Key: PIG-1680
>                 URL: https://issues.apache.org/jira/browse/PIG-1680
>             Project: Pig
>          Issue Type: Task
>          Components: impl
>    Affects Versions: 0.8.0
>            Reporter: George P. Stathis
>             Fix For: 0.8.0
>
>         Attachments: apply-PIG-1680-patch.sh, pig-hbase-0.89.SNAPSHOT.patch
>
>
> HBaseStorage is currently coded against the hbase 0.20.6 API. The hbase 0.89 API deprecates some methods and outright removes some others which causes HBaseStorage to no longer compile.
> It is unclear whether one can run an HBase 0.20.6 client against a running 0.89 hbase instance. In my experience, it does not work. Therefore, HBaseStorage has to be compiled against 0.89. 
> Attached is a proposed patch to make 0.8.0 trunk compatible with hbase 0.89 as well as a script to help automate the upgrade.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.