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

Dmitriy V. Ryaboy commented on PIG-1680:
----------------------------------------

George,
I am not sure about replacing Hadoop 20.2 with the appends version. 

Can we instead push the incompatibilities off into a shim layer and use the 
appropriate methods depending on the version of HBase/Hadoop that are on the 
classpath at runtime? We did something like that for Pig when folks were slowly 
switching over from Hadoop 18 to 20.

Once the dust settles, we'll remove the shims and put HBase 89 + Hadoop with 
appends in, but not while there are a lot of people still on the old versions.

> 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.

Reply via email to