You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2016/02/12 19:55:18 UTC
[jira] [Updated] (PIG-4728) Compilation against hbase 1.x fails
with hbase-hadoop1-compat not found
[ https://issues.apache.org/jira/browse/PIG-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-4728:
----------------------------
Attachment: PIG-4728-1.patch
The reason we cannot upgrade HBase to 1.1 is because HBase drop support for Hadoop 1. Untill we reach consensus to drop Hadoop 1 in Pig, we cannot commit the patch.
Attach the patch here to make Pig work with HBase 1.1 only under Hadoop 2.
> Compilation against hbase 1.x fails with hbase-hadoop1-compat not found
> -----------------------------------------------------------------------
>
> Key: PIG-4728
> URL: https://issues.apache.org/jira/browse/PIG-4728
> Project: Pig
> Issue Type: Improvement
> Reporter: Ted Yu
> Fix For: 0.16.0
>
> Attachments: PIG-4728-1.patch
>
>
> With the following change:
> {code}
> diff --git a/ivy/libraries.properties b/ivy/libraries.properties
> index c40befd..41ce9fb 100644
> --- a/ivy/libraries.properties
> +++ b/ivy/libraries.properties
> @@ -46,7 +46,7 @@ hadoop-common.version=2.6.0
> hadoop-hdfs.version=2.6.0
> hadoop-mapreduce.version=2.6.0
> hbase94.version=0.94.1
> -hbase95.version=0.98.12-${hbase.hadoop.version}
> +hbase95.version=1.1.2
> hsqldb.version=1.8.0.10
> hive.version=1.2.1
> httpcomponents.version=4.1
> {code}
> I ran 'ant compile'
> However, compilation failed with:
> {code}
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: org.apache.hbase#hbase-hadoop1-compat;1.1.2: not found
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> {code}
> In hbase 1.x releases, hbase-hadoop1-compat module doesn't exist.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)