You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/07/21 22:12:20 UTC
[jira] [Created] (CALCITE-1326) Avatica TCK build fails on Guava
versions earlier than 14
Julian Hyde created CALCITE-1326:
------------------------------------
Summary: Avatica TCK build fails on Guava versions earlier than 14
Key: CALCITE-1326
URL: https://issues.apache.org/jira/browse/CALCITE-1326
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Avatica TCK build fails on Guava version 13 (succeeds on 14 and higher). I don't know what Guava versions Avatica claims to be able to use; release 1.7.1 said "Guava versions 12.0.1 to 19.0" but 1.8 did not say.
The error is caused by the missing ClassPath and ClassInfo classes (added in Guava 14):
{noformat}
$ mvn -Dguava.version=13.0.1 clean package
...
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ avatica-tck ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /home/jhyde/open1/calcite.4/avatica/tck/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/jhyde/open1/calcite.4/avatica/tck/src/main/java/org/apache/calcite/avatica/tck/TestRunner.java:[22,33] cannot find symbol
symbol: class ClassPath
location: package com.google.common.reflect
[ERROR] /home/jhyde/open1/calcite.4/avatica/tck/src/main/java/org/apache/calcite/avatica/tck/TestRunner.java:[23,43] package com.google.common.reflect.ClassPath does not exist
[ERROR] /home/jhyde/open1/calcite.4/avatica/tck/src/main/java/org/apache/calcite/avatica/tck/TestRunner.java:[115,7] cannot find symbol
symbol: class ClassPath
location: class org.apache.calcite.avatica.tck.TestRunner
[ERROR] /home/jhyde/open1/calcite.4/avatica/tck/src/main/java/org/apache/calcite/avatica/tck/TestRunner.java:[115,22] cannot find symbol
symbol: variable ClassPath
location: class org.apache.calcite.avatica.tck.TestRunner
[ERROR] /home/jhyde/open1/calcite.4/avatica/tck/src/main/java/org/apache/calcite/avatica/tck/TestRunner.java:[116,20] cannot find symbol
symbol: class ClassInfo
location: class org.apache.calcite.avatica.tck.TestRunner
[ERROR] /home/jhyde/open1/calcite.4/avatica/tck/src/main/java/org/apache/calcite/avatica/tck/TestRunner.java:[120,12] cannot find symbol
symbol: class ClassInfo
location: class org.apache.calcite.avatica.tck.TestRunner
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)