Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10920

site plugin couldn't parse hadoop-kms index.apt.vm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.6.0
    • documentation
    • None

    Description

      From log of https://builds.apache.org/job/Hadoop-Common-trunk/1193 :

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (docs) on project hadoop-kms: Error during page generation: Error parsing '<https://builds.apache.org/job/Hadoop-Common-trunk/ws/trunk/hadoop-common-project/hadoop-kms/src/site/apt/index.apt.vm'>: line [126] expected SECTION2, found SECTION3 -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (docs) on project hadoop-kms: Error during page generation
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
              at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation
              at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:143)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
              ... 19 more
      Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error parsing '<https://builds.apache.org/job/Hadoop-Common-trunk/ws/trunk/hadoop-common-project/hadoop-kms/src/site/apt/index.apt.vm'>: line [126] expected SECTION2, found SECTION3
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:414)
              at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:53)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
              at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
              at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
              ... 21 more
      Caused by: org.apache.maven.doxia.module.apt.AptParseException: expected SECTION2, found SECTION3
              at org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:235)
              at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:65)
              at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:406)
              ... 26 more
      Caused by: org.apache.maven.doxia.module.apt.AptParseException: expected SECTION2, found SECTION3
              at org.apache.maven.doxia.module.apt.AptParser.expectedBlock(AptParser.java:1404)
              at org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.java:787)
              at org.apache.maven.doxia.module.apt.AptParser.traverseSection(AptParser.java:823)
              at org.apache.maven.doxia.module.apt.AptParser.traverseBody(AptParser.java:765)
              at org.apache.maven.doxia.module.apt.AptParser.parse(AptParser.java:230)
              ... 28 more
      [ERROR]
      

      Attachments

        1. HADOOP-10920.patch
          1 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: