Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E3B91134A for ; Wed, 13 Aug 2014 15:58:13 +0000 (UTC) Received: (qmail 60157 invoked by uid 500); 13 Aug 2014 15:58:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 60085 invoked by uid 500); 13 Aug 2014 15:58:12 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 59968 invoked by uid 500); 13 Aug 2014 15:58:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 59941 invoked by uid 99); 13 Aug 2014 15:58:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 15:58:12 +0000 Date: Wed, 13 Aug 2014 15:58:12 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7712) hive-exec-0.13.0.2.1.2.0-402.jar contains avro classes compiled against hadoop-v1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095638#comment-14095638 ] Ashutosh Chauhan commented on HIVE-7712: ---------------------------------------- For that you have to wait for next release either 0.13.2 or 0.14 > hive-exec-0.13.0.2.1.2.0-402.jar contains avro classes compiled against hadoop-v1 > ---------------------------------------------------------------------------------- > > Key: HIVE-7712 > URL: https://issues.apache.org/jira/browse/HIVE-7712 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Frank Kootte > Assignee: Ashutosh Chauhan > Priority: Critical > Fix For: 0.14.0 > > > hive-exec-0.13.0.2.1.2.0-402.jar contains avro classes compiled against hadoop-v1. > this causes issues on hadoop-v2 clusters where jobs are ran with this jar on the classpath. > {code} > Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected > at org.apache.avro.mapreduce.AvroMultipleOutputs.getNamedOutputsList(AvroMultipleOutputs.java:208) > at org.apache.avro.mapreduce.AvroMultipleOutputs.checkNamedOutputName(AvroMultipleOutputs.java:195) > at org.apache.avro.mapreduce.AvroMultipleOutputs.addNamedOutput(AvroMultipleOutputs.java:259) > at com.bol.searchrank.phase.calculate.CalculatePhaseRunner.createJob(CalculatePhaseRunner.java:70) > {code} > the issue is obfuscated due to the shaded nature of the jar which has no avro version references within itself anymore - which should probably be fixed as well to prevent such issue in the future and aid debugging properly. -- This message was sent by Atlassian JIRA (v6.2#6252)