[
https://issues.apache.org/jira/browse/PIG-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999077#comment-12999077
]
Ted Dunning commented on PIG-1680:
----------------------------------
There are two hbase jars. Hbase-0.90-test.jar and hbase-0.90.jar. I believe
that the -test version is a superset that includes the test cases that Dmitriy
wants.
The patch in question replaces lines that used to differentiate between the two
with a single reference to the -test jar. I only started tracing things
through so I can't say definitively what needs to happen, but that stood out.
For example, we have this part of the patch:
{code}
<property name="automaton.jarfile" value="automaton.jar" />
- <property name="hbase.jarfile" value="hbase-0.20.6.jar" />
- <property name="hbase.test.jarfile" value="hbase-0.20.6-test.jar" />
- <property name="zookeeper.jarfile" value="zookeeper-hbase-1329.jar" />
-
+ <property name="hbase.test.jarfile" value="hbase-0.90.0-tests.jar" />
{code}
This loses the paired hbase.jarfile and hbase.test.jarfile properties in favor
of the single hbase.jarfile property that points to the test jar.
> 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
> Assignee: Dmitriy V. Ryaboy
> Fix For: 0.9.0
>
> Attachments: PIG-1680.3.patch, PIG_1680.patch, PIG_1680.patch,
> PIG_1680.patch, apply-PIG-1680-patch-0.8.0.sh, apply-PIG-1680-patch.sh,
> hbase-0.90.0-tests.jar, 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira