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 F272310C8F for ; Sat, 22 Mar 2014 06:26:46 +0000 (UTC) Received: (qmail 90664 invoked by uid 500); 22 Mar 2014 06:26:45 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 90165 invoked by uid 500); 22 Mar 2014 06:26:43 -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 90152 invoked by uid 500); 22 Mar 2014 06:26:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 90148 invoked by uid 99); 22 Mar 2014 06:26:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2014 06:26:43 +0000 Date: Sat, 22 Mar 2014 06:26:43 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6530) JDK 7 trunk build fails after HIVE-6418 patch 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-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-6530: ----------------------------------- Fix Version/s: 0.13.0 > JDK 7 trunk build fails after HIVE-6418 patch > --------------------------------------------- > > Key: HIVE-6530 > URL: https://issues.apache.org/jira/browse/HIVE-6530 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.13.0 > Reporter: Prasad Mujumdar > Assignee: Navis > Priority: Blocker > Fix For: 0.13.0 > > Attachments: HIVE-6530.1.patch.txt, HIVE-6530.2.patch.txt > > > JDK7 build fails with following error > {noformat} > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hive-exec: Compilation failure > [ERROR] /home/prasadm/repos/apache/hive-trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/LazyFlatRowContainer.java:[118,15] name clash: add(java.util.List) in org.apache.hadoop.hive.ql.exec.persistence.LazyFlatRowContainer overrides a method whose erasure is the same as another method, yet neither overrides the other > [ERROR] first method: add(E) in java.util.AbstractCollection > [ERROR] second method: add(ROW) in org.apache.hadoop.hive.ql.exec.persistence.AbstractRowContainer > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the command > [ERROR] mvn -rf :hive-exec > {noformat} > This LazyFlatRowContainer.java is a new file added as part of HIVE-6418 patch. It's extending AbstractCollection and implements AbstractRowContainer. Looks like the both these have a add() method that's conflicting. -- This message was sent by Atlassian JIRA (v6.2#6252)