hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <>
Subject [jira] [Updated] (HIVE-6530) JDK 7 trunk build fails after HIVE-6418 patch
Date Tue, 04 Mar 2014 17:57:29 GMT


Prasad Mujumdar updated HIVE-6530:

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Pach committed to trunk.
Thanks Navis!

> JDK 7 trunk build fails after HIVE-6418 patch
> ---------------------------------------------
>                 Key: HIVE-6530
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Prasad Mujumdar
>            Assignee: Navis
>            Priority: Blocker
>         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/[118,15]
name clash: add(java.util.List<java.lang.Object>) in org.apache.hadoop.hive.ql.exec.persistence.LazyFlatRowContainer
overrides a method whose erasure is the same as another method, yet neither overrides the
> [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]
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hive-exec
> {noformat}
> This 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

View raw message