You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/08/23 22:24:12 UTC

[jira] [Comment Edited] (PHOENIX-1183) phoenix-pig does not work with CDH 5.1

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

James Taylor edited comment on PHOENIX-1183 at 8/23/14 8:24 PM:
----------------------------------------------------------------

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


was (Author: jamestaylor):
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)