confluentinc / ksql

The database purpose-built for stream processing applications.
https://ksqldb.io
Other
118 stars 1.04k forks source link

Quickstart Non-Docker Setup for KSQL encounters error during compilation and cannot find symbol "class ZkUtilsProvider" #582

Closed HackTheMainframe closed 6 years ago

HackTheMainframe commented 6 years ago

I am following the instructions here: https://github.com/confluentinc/ksql/blob/master/docs/quickstart/quickstart-non-docker.md#start-ksql

mvn clean compile install -DskipTests
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for io.confluent.ksql:ksql-rest-app:jar:4.1.0-SNAPSHOT
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.12
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 12
[INFO] os.detected.classifier: osx-x86_64
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ksql-parent
[INFO] ksql-common
[INFO] ksql-serde
[INFO] ksql-metastore
[INFO] ksql-parser
[INFO] ksql-engine
[INFO] ksql-version-metrics-client
[INFO] ksql-rest-app
[INFO] ksql-cli
[INFO] ksql-examples
[INFO] KSQL Clickstream Analysis Demo
[INFO] ksql-console-scripts
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-parent 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-parent ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-parent ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-parent ---
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-parent ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-parent ---
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ ksql-parent ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ ksql-parent ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /Users/jjohnson/Applications/ksql/target/ksql-parent-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (integration-test) @ ksql-parent ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:verify (verify) @ ksql-parent ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ksql-parent ---
[INFO] Installing /Users/jjohnson/Applications/ksql/pom.xml to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-parent/4.1.0-SNAPSHOT/ksql-parent-4.1.0-SNAPSHOT.pom
[INFO] Installing /Users/jjohnson/Applications/ksql/target/ksql-parent-4.1.0-SNAPSHOT-tests.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-parent/4.1.0-SNAPSHOT/ksql-parent-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-common 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-common ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/ksql-common/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-common ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-common/src/main/resources
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to /Users/jjohnson/Applications/ksql/ksql-common/target/classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-common/src/main/java/io/confluent/ksql/metrics/ConsumerCollector.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-common/src/main/java/io/confluent/ksql/metrics/ConsumerCollector.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-common ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-common ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-common ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-common/src/main/resources
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-common ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-common ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ ksql-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-common/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ksql-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /Users/jjohnson/Applications/ksql/ksql-common/target/test-classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-common/src/test/java/io/confluent/ksql/metrics/ProducerCollectorTest.java: /Users/jjohnson/Applications/ksql/ksql-common/src/test/java/io/confluent/ksql/metrics/ProducerCollectorTest.java uses unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-common/src/test/java/io/confluent/ksql/metrics/ProducerCollectorTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:testCompile (default) @ ksql-common ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ ksql-common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ ksql-common ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-common/target/ksql-common-4.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ ksql-common ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-common/target/ksql-common-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (integration-test) @ ksql-common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:verify (verify) @ ksql-common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ksql-common ---
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-common/target/ksql-common-4.1.0-SNAPSHOT.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-common/4.1.0-SNAPSHOT/ksql-common-4.1.0-SNAPSHOT.jar
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-common/pom.xml to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-common/4.1.0-SNAPSHOT/ksql-common-4.1.0-SNAPSHOT.pom
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-common/target/ksql-common-4.1.0-SNAPSHOT-tests.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-common/4.1.0-SNAPSHOT/ksql-common-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-serde 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-serde ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/ksql-serde/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-serde ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-serde ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-serde ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-serde/src/main/resources
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-serde/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-serde ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /Users/jjohnson/Applications/ksql/ksql-serde/target/classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-serde/src/main/java/io/confluent/ksql/serde/delimited/KsqlDelimitedDeserializer.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-serde/src/main/java/io/confluent/ksql/serde/delimited/KsqlDelimitedDeserializer.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-serde ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[WARNING]  Expected all dependencies to require Scala version: 0.0.0
[WARNING]  org.apache.kafka:kafka_2.11:1.1.0-SNAPSHOT requires scala version: 2.11.12
[WARNING] Multiple versions of scala libraries detected!
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-serde ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-serde ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-serde ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-serde/src/main/resources
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-serde/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-serde ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-serde ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[WARNING]  Expected all dependencies to require Scala version: 0.0.0
[WARNING]  org.apache.kafka:kafka_2.11:1.1.0-SNAPSHOT requires scala version: 2.11.12
[WARNING] Multiple versions of scala libraries detected!
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ ksql-serde ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-serde/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ksql-serde ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/jjohnson/Applications/ksql/ksql-serde/target/test-classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-serde/src/test/java/io/confluent/ksql/serde/avro/KsqlGenericRowAvroDeserializerTest.java: /Users/jjohnson/Applications/ksql/ksql-serde/src/test/java/io/confluent/ksql/serde/avro/KsqlGenericRowAvroDeserializerTest.java uses unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-serde/src/test/java/io/confluent/ksql/serde/avro/KsqlGenericRowAvroDeserializerTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:testCompile (default) @ ksql-serde ---
[WARNING]  Expected all dependencies to require Scala version: 2.11.12
[WARNING]  org.apache.kafka:kafka_2.11:1.1.0-SNAPSHOT requires scala version: 2.11.12
[WARNING]  org.scala-lang:scala-reflect:2.11.12 requires scala version: 2.11.12
[WARNING]  com.typesafe.scala-logging:scala-logging_2.11:3.7.2 requires scala version: 2.11.11
[WARNING] Multiple versions of scala libraries detected!
[INFO] /Users/jjohnson/Applications/ksql/ksql-serde/src/test/java:-1: info: compiling
[INFO] /Users/jjohnson/Applications/ksql/ksql-serde/target/generated-test-sources/test-annotations:-1: info: compiling
[INFO] Compiling 1 source files to /Users/jjohnson/Applications/ksql/ksql-serde/target/test-classes at 1515001676856
[INFO] prepare-compile in 0 s
[INFO] compile in 1 s
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ ksql-serde ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ ksql-serde ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-serde/target/ksql-serde-4.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ ksql-serde ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-serde/target/ksql-serde-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (integration-test) @ ksql-serde ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:verify (verify) @ ksql-serde ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ksql-serde ---
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-serde/target/ksql-serde-4.1.0-SNAPSHOT.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-serde/4.1.0-SNAPSHOT/ksql-serde-4.1.0-SNAPSHOT.jar
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-serde/pom.xml to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-serde/4.1.0-SNAPSHOT/ksql-serde-4.1.0-SNAPSHOT.pom
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-serde/target/ksql-serde-4.1.0-SNAPSHOT-tests.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-serde/4.1.0-SNAPSHOT/ksql-serde-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-metastore 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-metastore ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/ksql-metastore/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-metastore ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-metastore ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-metastore ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-metastore/src/main/resources
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-metastore/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-metastore ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /Users/jjohnson/Applications/ksql/ksql-metastore/target/classes
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-metastore ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-metastore ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-metastore ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-metastore ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-metastore/src/main/resources
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-metastore/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-metastore ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-metastore ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ ksql-metastore ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ksql-metastore ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /Users/jjohnson/Applications/ksql/ksql-metastore/target/test-classes
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:testCompile (default) @ ksql-metastore ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ ksql-metastore ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ ksql-metastore ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-metastore/target/ksql-metastore-4.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.6:test-jar (default) @ ksql-metastore ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-metastore/target/ksql-metastore-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (integration-test) @ ksql-metastore ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:verify (verify) @ ksql-metastore ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ksql-metastore ---
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-metastore/target/ksql-metastore-4.1.0-SNAPSHOT.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-metastore/4.1.0-SNAPSHOT/ksql-metastore-4.1.0-SNAPSHOT.jar
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-metastore/pom.xml to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-metastore/4.1.0-SNAPSHOT/ksql-metastore-4.1.0-SNAPSHOT.pom
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-metastore/target/ksql-metastore-4.1.0-SNAPSHOT-tests.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-metastore/4.1.0-SNAPSHOT/ksql-metastore-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-parser 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-parser ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/ksql-parser/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-parser ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-parser ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.7:antlr4 (default) @ ksql-parser ---
[INFO] ANTLR 4: Processing source directory /Users/jjohnson/Applications/ksql/ksql-parser/src/main/antlr4
[INFO] Processing grammar: io/confluent/ksql/parser/SqlBase.g4
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-parser ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-parser ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 152 source files to /Users/jjohnson/Applications/ksql/ksql-parser/target/classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-parser/src/main/java/io/confluent/ksql/parser/KsqlParser.java: /Users/jjohnson/Applications/ksql/ksql-parser/src/main/java/io/confluent/ksql/parser/KsqlParser.java uses or overrides a deprecated API.
[INFO] /Users/jjohnson/Applications/ksql/ksql-parser/src/main/java/io/confluent/ksql/parser/KsqlParser.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-parser ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-parser ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-parser ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.7:antlr4 (default) @ ksql-parser ---
[INFO] No grammars to process
[INFO] ANTLR 4: Processing source directory /Users/jjohnson/Applications/ksql/ksql-parser/src/main/antlr4
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-parser ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-parser ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-parser ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ ksql-parser ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ksql-parser ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /Users/jjohnson/Applications/ksql/ksql-parser/target/test-classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-parser/src/test/java/io/confluent/ksql/parser/tree/HoppingWindowExpressionTest.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-parser/src/test/java/io/confluent/ksql/parser/tree/HoppingWindowExpressionTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:testCompile (default) @ ksql-parser ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ ksql-parser ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ ksql-parser ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-parser/target/ksql-parser-4.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ ksql-parser ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-parser/target/ksql-parser-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (integration-test) @ ksql-parser ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:verify (verify) @ ksql-parser ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ksql-parser ---
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-parser/target/ksql-parser-4.1.0-SNAPSHOT.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-parser/4.1.0-SNAPSHOT/ksql-parser-4.1.0-SNAPSHOT.jar
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-parser/pom.xml to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-parser/4.1.0-SNAPSHOT/ksql-parser-4.1.0-SNAPSHOT.pom
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-parser/target/ksql-parser-4.1.0-SNAPSHOT-tests.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-parser/4.1.0-SNAPSHOT/ksql-parser-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-engine 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-engine ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/ksql-engine/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-engine ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-engine ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.7:antlr4 (default) @ ksql-engine ---
[INFO] No ANTLR 4 grammars to compile in /Users/jjohnson/Applications/ksql/ksql-engine/src/main/antlr4
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-engine ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-engine ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 102 source files to /Users/jjohnson/Applications/ksql/ksql-engine/target/classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/main/java/io/confluent/ksql/physical/AddTimestampColumn.java: /Users/jjohnson/Applications/ksql/ksql-engine/src/main/java/io/confluent/ksql/physical/AddTimestampColumn.java uses or overrides a deprecated API.
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/main/java/io/confluent/ksql/physical/AddTimestampColumn.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/main/java/io/confluent/ksql/structured/SchemaKStream.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/main/java/io/confluent/ksql/structured/SchemaKStream.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-engine ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[WARNING]  Expected all dependencies to require Scala version: 0.0.0
[WARNING]  org.apache.kafka:kafka_2.11:1.1.0-SNAPSHOT requires scala version: 2.11.12
[WARNING] Multiple versions of scala libraries detected!
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-engine ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-engine ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.7:antlr4 (default) @ ksql-engine ---
[INFO] No ANTLR 4 grammars to compile in /Users/jjohnson/Applications/ksql/ksql-engine/src/main/antlr4
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-engine ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-engine ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:compile (default) @ ksql-engine ---
[WARNING] you don't define org.scala-lang:scala-library as a dependency of the project
[WARNING]  Expected all dependencies to require Scala version: 0.0.0
[WARNING]  org.apache.kafka:kafka_2.11:1.1.0-SNAPSHOT requires scala version: 2.11.12
[WARNING] Multiple versions of scala libraries detected!
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ ksql-engine ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ksql-engine ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 48 source files to /Users/jjohnson/Applications/ksql/ksql-engine/target/test-classes
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/test/java/io/confluent/ksql/integration/IntegrationTestHarness.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/test/java/io/confluent/ksql/integration/IntegrationTestHarness.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- scala-maven-plugin:3.2.1:testCompile (default) @ ksql-engine ---
[WARNING]  Expected all dependencies to require Scala version: 2.11.12
[WARNING]  org.apache.kafka:kafka_2.11:1.1.0-SNAPSHOT requires scala version: 2.11.12
[WARNING]  org.scala-lang:scala-reflect:2.11.12 requires scala version: 2.11.12
[WARNING]  com.typesafe.scala-logging:scala-logging_2.11:3.7.2 requires scala version: 2.11.11
[WARNING] Multiple versions of scala libraries detected!
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/src/test/java:-1: info: compiling
[INFO] /Users/jjohnson/Applications/ksql/ksql-engine/target/generated-test-sources/test-annotations:-1: info: compiling
[INFO] Compiling 48 source files to /Users/jjohnson/Applications/ksql/ksql-engine/target/test-classes at 1515001686469
[INFO] prepare-compile in 0 s
[INFO] compile in 1 s
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ ksql-engine ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ ksql-engine ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-engine/target/ksql-engine-4.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ ksql-engine ---
[INFO] Building jar: /Users/jjohnson/Applications/ksql/ksql-engine/target/ksql-engine-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (integration-test) @ ksql-engine ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.20.1:verify (verify) @ ksql-engine ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ksql-engine ---
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-engine/target/ksql-engine-4.1.0-SNAPSHOT.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-engine/4.1.0-SNAPSHOT/ksql-engine-4.1.0-SNAPSHOT.jar
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-engine/pom.xml to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-engine/4.1.0-SNAPSHOT/ksql-engine-4.1.0-SNAPSHOT.pom
[INFO] Installing /Users/jjohnson/Applications/ksql/ksql-engine/target/ksql-engine-4.1.0-SNAPSHOT-tests.jar to /Users/jjohnson/.m2/repository/io/confluent/ksql/ksql-engine/4.1.0-SNAPSHOT/ksql-engine-4.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksql-version-metrics-client 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ ksql-version-metrics-client ---
[INFO] Deleting /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ ksql-version-metrics-client ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ ksql-version-metrics-client ---
[INFO]
[INFO] --- avro-maven-plugin:1.8.2:schema (default) @ ksql-version-metrics-client ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ksql-version-metrics-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ksql-version-metrics-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[24,49] cannot find symbol
  symbol:   class ZkUtilsProvider
  location: package io.confluent.support.metrics.common.kafka
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[47,13] cannot find symbol
  symbol:   class ZkUtilsProvider
  location: class io.confluent.ksql.version.metrics.KsqlVersionChecker
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[28,8] io.confluent.ksql.version.metrics.KsqlVersionChecker is not abstract and does not override abstract method zkClientProvider() in io.confluent.support.metrics.BaseMetricsReporter
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[46,3] method does not override or implement a method from a supertype
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ksql-parent ........................................ SUCCESS [  2.310 s]
[INFO] ksql-common ........................................ SUCCESS [  3.061 s]
[INFO] ksql-serde ......................................... SUCCESS [  2.733 s]
[INFO] ksql-metastore ..................................... SUCCESS [  1.109 s]
[INFO] ksql-parser ........................................ SUCCESS [  4.435 s]
[INFO] ksql-engine ........................................ SUCCESS [  3.986 s]
[INFO] ksql-version-metrics-client ........................ FAILURE [  0.929 s]
[INFO] ksql-rest-app ...................................... SKIPPED
[INFO] ksql-cli ........................................... SKIPPED
[INFO] ksql-examples ...................................... SKIPPED
[INFO] KSQL Clickstream Analysis Demo ..................... SKIPPED
[INFO] ksql-console-scripts ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.992 s
[INFO] Finished at: 2018-01-03T11:48:08-06:00
[INFO] Final Memory: 69M/723M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project ksql-version-metrics-client: Compilation failure: Compilation failure:
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[24,49] cannot find symbol
[ERROR] symbol:   class ZkUtilsProvider
[ERROR] location: package io.confluent.support.metrics.common.kafka
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[47,13] cannot find symbol
[ERROR] symbol:   class ZkUtilsProvider
[ERROR] location: class io.confluent.ksql.version.metrics.KsqlVersionChecker
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[28,8] io.confluent.ksql.version.metrics.KsqlVersionChecker is not abstract and does not override abstract method zkClientProvider() in io.confluent.support.metrics.BaseMetricsReporter
[ERROR] /Users/jjohnson/Applications/ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java:[46,3] method does not override or implement a method from a supertype
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ksql-version-metrics-client
AndreiLieb commented 6 years ago

This is because of this commit: https://github.com/confluentinc/support-metrics-common/pull/24

you can edit ksql/ksql-version-metrics-client/src/main/java/io/confluent/ksql/version/metrics/KsqlVersionChecker.java

line 24 should be: import io.confluent.support.metrics.common.kafka.ZkClientProvider line 47 should be:protected ZkClientProvider zkClientProvider()

I am sure someone will do a PR for this soon.

UPDATE: Looks like this has been fixed in master.

HackTheMainframe commented 6 years ago

Thank you. Editing the code solved the compile errors.