Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 2.7.2, 3.0.0-alpha1
    • Component/s: api, site
    • Labels:
      None
    • Environment:

      CentOS 7.0, Oracle JDK 8u45.

    • Hadoop Flags:
      Reviewed

      Description

      'mvn site' failed by the following error:

      [ERROR] /home/aajisaka/git/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/package-info.java:18: error: package org.apache.hadoop.yarn.factories has already been annotated
      [ERROR] @InterfaceAudience.LimitedPrivate({ "MapReduce", "YARN" })
      [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
      [ERROR] 
      [ERROR] Command line was: /usr/java/jdk1.8.0_45/jre/../bin/javadoc -J-Xmx1024m @options @packages
      [ERROR] 
      [ERROR] Refer to the generated Javadoc files in '/home/aajisaka/git/hadoop/target/site/hadoop-project/api' dir.
      [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/MojoExecutionException
      

        Attachments

        1. YARN-3690-002.patch
          4 kB
          Brahma Reddy Battula
        2. YARN-3690-003.patch
          5 kB
          Brahma Reddy Battula
        3. YARN-3690-patch
          0.9 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: