phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1183) phoenix-pig does not work with CDH 5.1
Date Sat, 23 Aug 2014 20:22:10 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108136#comment-14108136
] 

James Taylor commented on PHOENIX-1183:
---------------------------------------

The issue, I think, is that the phoenix-pig jar in our distribution was only compiled against
the hadoop1 profile (see PHOENIX-1201). It should not be necessary to compile against CDH.
Instead, please try compiling the phoenix-pig module against the hadoop2 profile (which any
pom changes) like this from the top level phoenix directory:
{code}
mvn package -Dhadoop.profile=2
{code}

Then replace your phoenix-pig/target/phoenix-pig-4.1.0.jar with this new one and see if it
solves the issue you're running into.

> phoenix-pig does not work with CDH 5.1
> --------------------------------------
>
>                 Key: PHOENIX-1183
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1183
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>         Environment: CDH 5.1, CentOS 6.4
>            Reporter: Russell Jurney
>            Priority: Critical
>              Labels: 5.1, cdh, cloudera, hbase, phoenix, pig
>
> 2014-08-19 14:03:46,904 FATAL org.apache.hadoop.mapred.Child: Error running child : java.lang.IncompatibleClassChangeError:
Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message