hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8329) Hadoop-Common build fails with Java 7 on branch-1.0
Date Fri, 18 May 2012 20:45:28 GMT

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

Hadoop QA commented on HADOOP-8329:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12528142/hadoop-8329.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 javadoc.  The javadoc tool appears to have generated 2 warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    -1 findbugs.  The patch appears to introduce 11 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    +1 core tests.  The patch passed unit tests in hadoop-tools/hadoop-gridmix.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1011//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/1011//artifact/trunk/trunk/patchprocess/newPatchFindbugsWarningshadoop-gridmix.html
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1011//console

This message is automatically generated.
                
> Hadoop-Common build fails with Java 7 on branch-1.0
> ---------------------------------------------------
>
>                 Key: HADOOP-8329
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8329
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2, 1.0.3, 2.0.0
>            Reporter: Kumar Ravi
>            Assignee: Eli Collins
>         Attachments: hadoop-8329.txt
>
>
> I am seeing the following message running IBM Java 7 running branch-1.0 code.
> compile:
> [echo] contrib: gridmix
> [javac] Compiling 31 source files to /home/hadoop/branch-1.0_0427/build/contrib/gridmix/classes
> [javac] /home/hadoop/branch-1.0_0427/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/Gridmix.java:396:
error: type argument ? extends T is not within bounds of type-variable E
> [javac] private <T> String getEnumValues(Enum<? extends T>[] e) {
> [javac] ^
> [javac] where T,E are type-variables:
> [javac] T extends Object declared in method <T>getEnumValues(Enum<? extends
T>[])
> [javac] E extends Enum<E> declared in class Enum
> [javac] /home/hadoop/branch-1.0_0427/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/Gridmix.java:399:
error: type argument ? extends T is not within bounds of type-variable E
> [javac] for (Enum<? extends T> v : e) {
> [javac] ^
> [javac] where T,E are type-variables:
> [javac] T extends Object declared in method <T>getEnumValues(Enum<? extends
T>[])
> [javac] E extends Enum<E> declared in class Enum
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> BUILD FAILED
> /home/hadoop/branch-1.0_0427/build.xml:703: The following error occurred while executing
this line:
> /home/hadoop/branch-1.0_0427/src/contrib/build.xml:30: The following error occurred while
executing this line:
> /home/hadoop/branch-1.0_0427/src/contrib/build-contrib.xml:185: Compile failed; see the
compiler error output for details.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message