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

Jarek Jarcec Cecho commented on PHOENIX-1183:
---------------------------------------------

CDH 4 and 5 is based on Hadoop 2 and code compiled against Hadoop 1.x usually 
don't work. This particular exception is pretty much a typical example. My 
guess would be that you need to recompile your code [~russell.jurney]. The best 
way would be to compile directly against CDH jar files as that will ensure that 
everything will run smoothly, but compiling against Hadoop 2.2 or later should 
do the work as well.

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

Reply via email to