Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7906

Fix mvn site fails with error: Multiple sources of package comments found for package "o.a.h.y.client.api.impl"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: build, documentation
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      mvn site fails on trunk.

      [ERROR] javadoc: warning - Multiple sources of package comments found for package "org.apache.hadoop.yarn.client.api.impl"
      [ERROR] /home/travis/build/aajisaka/hadoop-document/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/api/resource/package-info.java:21: error: package org.apache.hadoop.yarn.api.resource has already been annotated
      [ERROR] @InterfaceAudience.Private
      [ERROR] ^
      [ERROR] java.lang.AssertionError
      [ERROR] at com.sun.tools.javac.util.Assert.error(Assert.java:126)
      [ERROR] at com.sun.tools.javac.util.Assert.check(Assert.java:45)
      [ERROR] at com.sun.tools.javac.code.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161)
      [ERROR] at com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:215)
      [ERROR] at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:952)
      [ERROR] at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64)
      [ERROR] at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:876)
      [ERROR] at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143)
      [ERROR] at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
      [ERROR] at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
      [ERROR] at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
      [ERROR] at com.sun.tools.javadoc.JavadocEnter.main(JavadocEnter.java:78)
      [ERROR] at com.sun.tools.javadoc.JavadocTool.getRootDocImpl(JavadocTool.java:186)
      [ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:346)
      [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:219)
      [ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:205)
      [ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:64)
      [ERROR] at com.sun.tools.javadoc.Main.main(Main.java:54)
      [ERROR] javadoc: error - fatal error
      

      https://travis-ci.org/aajisaka/hadoop-document/builds/338833122

        Attachments

        1. YARN-7906.001.patch
          0.7 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: