You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2010/12/20 20:33:02 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 ]

Bill Graham updated PIG-1680:
-----------------------------

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

Attached are both an updated patch and an updated script to apply it. Patch functionality is the same (and has been tested), but this patch can be applied to the current Pig 0.8.0 branch, the Pig 0.8.0 distro, or the current Pig trunk. Hopefully this helps bleeding-edgers who can't wait for the shims impl.

The script permits the ability to apply the patch to a working copy of Pig (with the -d option), instead of doing an svn checkout, which is still the default. The apply script also now takes the HBase version from the patched ivy properties file.


> 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.9.0
>
>         Attachments: apply-PIG-1680-patch-0.8.0.sh, apply-PIG-1680-patch.sh, pig-0.8.0-hbase-0.89.SNAPSHOT.patch, 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.