tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TezQA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-3798) Remove duplicate package-info.java
Date Sat, 15 Jul 2017 00:20:01 GMT

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

TezQA commented on TEZ-3798:
----------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  http://issues.apache.org/jira/secure/attachment/12877414/TEZ-3798.2.patch
  against master revision 6777707.

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  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.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
3.0.1) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-TEZ-Build/2580//testReport/
Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/2580//console

This message is automatically generated.

> Remove duplicate package-info.java
> ----------------------------------
>
>                 Key: TEZ-3798
>                 URL: https://issues.apache.org/jira/browse/TEZ-3798
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Zhiyuan Yang
>            Assignee: Zhiyuan Yang
>            Priority: Blocker
>         Attachments: TEZ-3798.1.patch, TEZ-3798.2.patch
>
>
> There are two package-info.java for package org.apache.tez.common:
> tez-common/src/main/java/org/apache/tez/common/package-info.java
> tez-mapreduce/src/main/java/org/apache/tez/common/package-info.java
> Before java 8, this was never a problem. But now it causes error in 'mvn site':
> {noformat}
> /Users/zyang/apache/tez/tez-mapreduce/src/main/java/org/apache/tez/common/package-info.java:19:
error: package org.apache.tez.common has already been annotated
> @Private
> ^
> java.lang.AssertionError
> 	at com.sun.tools.javac.util.Assert.error(Assert.java:126)
> 	at com.sun.tools.javac.util.Assert.check(Assert.java:45)
> 	at com.sun.tools.javac.code.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161)
> 	at com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:215)
> 	at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:952)
> 	at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64)
> 	at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:876)
> 	at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143)
> 	at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
> 	at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
> 	at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
> 	at com.sun.tools.javadoc.JavadocEnter.main(JavadocEnter.java:78)
> 	at com.sun.tools.javadoc.JavadocTool.getRootDocImpl(JavadocTool.java:186)
> 	at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:346)
> 	at com.sun.tools.javadoc.Start.begin(Start.java:219)
> 	at com.sun.tools.javadoc.Start.begin(Start.java:205)
> 	at com.sun.tools.javadoc.Main.execute(Main.java:64)
> 	at com.sun.tools.javadoc.Main.main(Main.java:54)
> javadoc: error - fatal error
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message