Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-177

Documentation build errors when trying to generate documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • None
    • None

    Description

      Running ./build_doc.sh 2.11 1 results in the following errors

      - _site/basic-concepts.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/coding-style.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/commandline.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/deployment-configuration.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/deployment-docker.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/deployment-ha.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/deployment-local.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/deployment-msg-delivery.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/deployment-resource-isolation.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/deployment-security.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/deployment-standalone.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/deployment-ui-authentication.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/deployment-yarn.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-connectors.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-custom-serializer.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-ide-setup.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-non-streaming-example.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-rest-api.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-storm.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/dev-write-1st-app.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/faq.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/features.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/gearpump-internals.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/get-gearpump-distribution.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/hardware-requirement.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/index.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/maven-setting.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/message-delivery.html
        *  internally linking to how-to-contribute.html, which does not exist (line 116)
      - _site/performance-report.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      - _site/submit-your-1st-application.html
        *  internally linking to how-to-contribute.html, which does not exist (line 119)
      htmlproof 2.5.1 | Error:  HTML-Proofer found 30 failures!
      

      and

      [info] Resolving javax.servlet.jsp#jsp-api;2.1 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Metrics.scala:26: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics._
      [error]                            ^
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      [info] Updating {file:/Users/kamkasravi/release/incubator-gearpump/}gearpump-streaming...
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      [info] Updating {file:/Users/kamkasravi/release/incubator-gearpump/}gearpump-external-monoid...
      [info] Updating {file:/Users/kamkasravi/release/incubator-gearpump/}gearpump-external-kafka...
      [info] Updating {file:/Users/kamkasravi/release/incubator-gearpump/}gearpump-external-serializer...
      [info] Updating {file:/Users/kamkasravi/release/incubator-gearpump/}gearpump-external-hbase...
      [info] Updating {file:/Users/kamkasravi/release/incubator-gearpump/}gearpump-external-hadoopfs...
      [info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.1 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/cluster/UserConfig.scala:24: object google is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.google.common.io.BaseEncoding
      [error]                            ^
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      [info] Resolving com.typesafe.akka#akka-protobuf_2.11;2.4.3 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/cluster/UserConfig.scala:94: not found: value BaseEncoding
      [error]     _config.get(key).map(BaseEncoding.base64().decode(_))
      [error]                          ^
      [info] Resolving org.uncommons.maths#uncommons-maths;1.2.2a ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/cluster/UserConfig.scala:101: not found: value BaseEncoding
      [error]       this.withString(key, BaseEncoding.base64().encode(value))
      [error]                            ^
      [info] Resolving com.typesafe.akka#akka-agent_2.11;2.4.3 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/cluster/UserConfig.scala:119: not found: value BaseEncoding
      [error]     _config.get(key).map(BaseEncoding.base64().decode(_))
      [error]                          ^
      [info] Resolving com.typesafe.akka#akka-slf4j_2.11;2.4.3 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/cluster/UserConfig.scala:140: not found: value BaseEncoding
      [error]       val encoded = BaseEncoding.base64().encode(bytes)
      [error]                     ^
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      [info] Resolving org.apache#apache;12 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/AkkaReporter.scala:25: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.{Gauge => CodaGauge, MetricRegistry}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/AkkaReporter.scala:35: not found: type MetricRegistry
      [error]     registry: MetricRegistry)
      [error]               ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Counter.scala:21: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.{Counter => CodaHaleCounter}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Counter.scala:26: not found: type CodaHaleCounter
      [error] class Counter(val name: String, counter: CodaHaleCounter, sampleRate: Int = 1) {
      [error]                                          ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Histogram.scala:21: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.{Histogram => CodaHaleHistogram}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Histogram.scala:26: not found: type CodaHaleHistogram
      [error] class Histogram(val name: String, histogram: CodaHaleHistogram, sampleRate: Int = 1) {
      [error]                                              ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/JvmMetricsSet.scala:24: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.jvm.{MemoryUsageGaugeSet, ThreadStatesGaugeSet}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/JvmMetricsSet.scala:25: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.{Metric, MetricSet}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/JvmMetricsSet.scala:27: not found: type MetricSet
      [error] class JvmMetricsSet(name: String) extends MetricSet {
      [error]                                           ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/JvmMetricsSet.scala:29: not found: type Metric
      [error]   override def getMetrics: util.Map[String, Metric] = {
      [error]                                             ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/JvmMetricsSet.scala:30: not found: type MemoryUsageGaugeSet
      [error]     val memoryMetrics = new MemoryUsageGaugeSet().getMetrics.asScala
      [error]                             ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/JvmMetricsSet.scala:31: not found: type ThreadStatesGaugeSet
      [error]     val threadMetrics = new ThreadStatesGaugeSet().getMetrics.asScala
      [error]                             ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Meter.scala:21: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.{Meter => CodaHaleMeter}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Meter.scala:24: not found: type CodaHaleMeter
      [error] class Meter(val name: String, meter: CodaHaleMeter, sampleRate: Int = 1) {
      [error]                                      ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Metrics.scala:33: not found: type MetricRegistry
      [error]   val registry = new MetricRegistry()
      [error]                      ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Metrics.scala:51: not found: type MetricSet
      [error]   def register(set: MetricSet): Unit = {
      [error]                     ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/Metrics.scala:137: not found: type MetricSet
      [error]     override def register(set: MetricSet): Unit = Unit
      [error]                                ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:27: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.graphite.{Graphite, GraphiteReporter}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:28: object codahale is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.codahale.metrics.{MetricFilter, Slf4jReporter}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:61: not found: type Graphite
      [error]     val graphite = new Graphite(new InetSocketAddress(graphiteHost, graphitePort))
      [error]                        ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:64: not found: value GraphiteReporter
      [error]       private val reporter = GraphiteReporter.forRegistry(metrics.registry)
      [error]                              ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:67: not found: value MetricFilter
      [error]         .filter(MetricFilter.ALL)
      [error]                 ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:76: not found: value Slf4jReporter
      [error]       val reporter = Slf4jReporter.forRegistry(metrics.registry)
      [error]                      ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/metrics/MetricsReporterService.scala:79: not found: value MetricFilter
      [error]         .filter(MetricFilter.ALL)
      [error]                 ^
      [info] Resolving org.apache.hbase#hbase-common;1.0.0 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/FastKryoSerializer.scala:23: object esotericsoftware is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.esotericsoftware.kryo.Kryo.DefaultInstantiatorStrategy
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/FastKryoSerializer.scala:24: object objenesis is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.objenesis.strategy.StdInstantiatorStrategy
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/FastKryoSerializer.scala:25: object romix is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.romix.serialization.kryo.KryoSerializerWrapper
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/FastKryoSerializer.scala:34: not found: type KryoSerializerWrapper
      [error]   private val kryoSerializer = new KryoSerializerWrapper(system)
      [error]                                    ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/FastKryoSerializer.scala:36: not found: type DefaultInstantiatorStrategy
      [error]   val strategy = new DefaultInstantiatorStrategy
      [error]                      ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/GearpumpSerialization.scala:24: object esotericsoftware is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.esotericsoftware.kryo.{Kryo, Serializer => KryoSerializer}
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/serializer/GearpumpSerialization.scala:31: not found: type Kryo
      [error]   def customize(kryo: Kryo): Unit = {
      [error]                       ^
      [info] Resolving com.sun.jersey.contribs#jersey-guice;1.9 ...
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/util/FileUtils.scala:24: object google is not a member of package org.apache.gearpump
      [error] import org.apache.gearpump.google.common.io.Files
      [error]                            ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/util/FileUtils.scala:30: not found: value Files
      [error]     Files.write(str, file, UTF8)
      [error]     ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/util/FileUtils.scala:34: not found: value Files
      [error]     Files.asCharSource(file, UTF8).read()
      [error]     ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/util/FileUtils.scala:38: not found: value Files
      [error]     Files.write(bytes, file)
      [error]     ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/util/FileUtils.scala:42: not found: value Files
      [error]     Files.toByteArray(file)
      [error]     ^
      [error] /Users/kamkasravi/release/incubator-gearpump/core/src/main/scala/org/apache/gearpump/util/FileUtils.scala:50: not found: value Files
      [error]     Files.createParentDirs(directory)
      [error]     ^
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      <!DOCTYPE html>
      <!--[if lt IE 7]>
      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
      <!--[if IE 7]>
      <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
      <!--[if IE 8]>
      <html class="no-js lt-ie9"> <![endif]-->
      <!--[if gt IE 8]><!-->
      <html class="no-js"> <!--<![endif]-->
      <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>
        <title>{{ page.title }} - Gearpump {{site.GEARPUMP_VERSION}} Documentation</title>
        {% if page.description %}
        <meta name="description"
              content="{{page.description | replace: 'GEARPUMP_VERSION', site.GEARPUMP_VERSION}}">
        {% endif %}
      
        {% if page.redirect %}
        <meta http-equiv="refresh" content="0; url={{page.redirect}}">
        <link rel="canonical" href="{{page.redirect}}"/>
        {% endif %}
      
        <link rel="stylesheet" href="css/bootstrap-3.3.5.min.css">
        <style>
          body {
            padding-top: 60px;
            padding-bottom: 40px;
          }
        </style>
        <link rel="stylesheet" href="css/main.css">
        <link rel="stylesheet" href="css/pygments-default.css">
        <script src="js/vendor/modernizr-2.6.1-respond-1.1.0.min.js"></script>
      </head>
      <body>
      <!--[if lt IE 7]>
      <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade
        your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install
        Google Chrome Frame</a> to better experience this site.</p>
      <![endif]-->
      
      <div class="navbar navbar-inverse navbar-fixed-top" id="topbar">
        <div class="container">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
      /how-to-
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      [info] Resolving com.typesafe.akka#akka-actor_2.11;2.4.3 ...
      [error] 43 errors found
      [info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
      [info] Done updating.
      [error] (gearpump-core/compile:compileIncremental) Compilation failed
      [error] Total time: 17 s, completed Jul 9, 2016 9:02:37 AM
      

      Attachments

        Issue Links

          Activity

            People

              Kam Kasravi Kam Kasravi
              Kam Kasravi Kam Kasravi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: