Ilya Kasnacheev created IGNITE-13146:
---------------------------------------- Summary: OpenCensus example does not work from release build Key: IGNITE-13146 URL: https://issues.apache.org/jira/browse/IGNITE-13146 Project: Ignite Issue Type: Bug Components: build Affects Versions: 2.9 Reporter: Ilya Kasnacheev Assignee: Nikolay Izhikov Fix For: 2.9 This happens in a binary distribution of 2.9: {code} /Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples% mvn clean install [INFO] [INFO] -----------------< org.apache.ignite:ignite-examples >------------------ [INFO] Building ignite-examples 2.9.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- ... [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ignite-examples --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 255 source files to /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/target/classes ... [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[20,47] package io.opencensus.exporter.stats.prometheus does not exist [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[21,37] package io.prometheus.client.exporter does not exist [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[34,47] package org.apache.ignite.spi.metric.opencensus does not exist [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[54,9] cannot find symbol symbol: variable PrometheusStatsCollector location: class org.apache.ignite.examples.opencensus.OpenCensusMetricsExporterExample [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[57,9] cannot find symbol symbol: class HTTPServer location: class org.apache.ignite.examples.opencensus.OpenCensusMetricsExporterExample [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[57,30] cannot find symbol symbol: class HTTPServer location: class org.apache.ignite.examples.opencensus.OpenCensusMetricsExporterExample [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[62,9] cannot find symbol symbol: class OpenCensusMetricExporterSpi location: class org.apache.ignite.examples.opencensus.OpenCensusMetricsExporterExample [ERROR] /home/gridgain/Downloads/apache-ignite-slim-2.9.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/opencensus/OpenCensusMetricsExporterExample.java:[62,71] cannot find symbol symbol: class OpenCensusMetricExporterSpi location: class org.apache.ignite.examples.opencensus.OpenCensusMetricsExporterExample [INFO] 8 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ {code} This is because pom-standalone.xml and pom-standalone-lgpl.xml files needs to be updated in accordance with examples/pom.xml changes. This is currently a blocker for 2.9. -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |