[
https://issues.apache.org/jira/browse/CALCITE-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165299#comment-16165299
]
Jesus Camacho Rodriguez commented on CALCITE-1981:
--------------------------------------------------
[~michaelmior], [~julianhyde], no problem on my end:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m;
support was removed in 8.0
Running org.apache.calcite.test.CassandraAdapterIT
2017-09-13 14:17:38,583 [pool-1-thread-7] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:39,134 [pool-1-thread-7] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,392 [pool-1-thread-7] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,398 [pool-1-thread-7] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:38,583 [pool-1-thread-4] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:39,134 [pool-1-thread-4] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,408 [pool-1-thread-4] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,408 [pool-1-thread-4] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,673 [pool-1-thread-4] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,704 [pool-1-thread-4] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,838 [pool-1-thread-4] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,838 [pool-1-thread-4] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:38,583 [pool-1-thread-8] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:39,134 [pool-1-thread-8] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,389 [pool-1-thread-8] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,401 [pool-1-thread-8] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,655 [pool-1-thread-8] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,770 [pool-1-thread-8] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,863 [pool-1-thread-8] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,863 [pool-1-thread-8] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:38,583 [pool-1-thread-2] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:39,134 [pool-1-thread-2] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,396 [pool-1-thread-2] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,399 [pool-1-thread-2] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,635 [pool-1-thread-2] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,661 [pool-1-thread-2] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,769 [pool-1-thread-2] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,769 [pool-1-thread-2] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:38,583 [pool-1-thread-3] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:39,134 [pool-1-thread-3] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,400 [pool-1-thread-3] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,400 [pool-1-thread-3] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:38,583 [pool-1-thread-6] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:38,666 [pool-1-thread-6] INFO - Did not find Netty's native
epoll transport in the classpath, defaulting to NIO.
2017-09-13 14:17:39,134 [pool-1-thread-6] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,404 [pool-1-thread-6] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,404 [pool-1-thread-6] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,654 [pool-1-thread-6] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,705 [pool-1-thread-6] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,840 [pool-1-thread-6] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,840 [pool-1-thread-6] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:38,583 [pool-1-thread-5] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:39,134 [pool-1-thread-5] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:39,402 [pool-1-thread-5] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:39,402 [pool-1-thread-5] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,639 [pool-1-thread-7] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,679 [pool-1-thread-7] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,836 [pool-1-thread-7] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,836 [pool-1-thread-7] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,640 [pool-1-thread-3] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,661 [pool-1-thread-3] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,749 [pool-1-thread-3] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,749 [pool-1-thread-3] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,729 [pool-1-thread-5] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,791 [pool-1-thread-5] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:40,892 [pool-1-thread-5] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:40,893 [pool-1-thread-5] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:40,915 [pool-1-thread-8] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:40,937 [pool-1-thread-8] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:41,014 [pool-1-thread-8] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:41,014 [pool-1-thread-8] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
2017-09-13 14:17:41,068 [pool-1-thread-8] INFO - Using native clock to
generate timestamps.
2017-09-13 14:17:41,083 [pool-1-thread-8] WARN - You listed
localhost/0:0:0:0:0:0:0:1:9042 in your contact points, but it wasn't found in
the control host's system.peers at startup
2017-09-13 14:17:41,133 [pool-1-thread-8] INFO - Using data-center name
'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide
the correct datacenter name with DCAwareRoundRobinPolicy constructor)
2017-09-13 14:17:41,133 [pool-1-thread-8] INFO - New Cassandra host
localhost/127.0.0.1:9042 added
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.205 sec - in
org.apache.calcite.test.CassandraAdapterIT
Results :
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0
{code}
> Cassandra adapter fails
> -----------------------
>
> Key: CALCITE-1981
> URL: https://issues.apache.org/jira/browse/CALCITE-1981
> Project: Calcite
> Issue Type: Bug
> Components: cassandra, core
> Affects Versions: 1.14.0
> Reporter: Michael Mior
> Assignee: Julian Hyde
> Fix For: 1.14.0
>
>
> Cassandra integration tests currently fail as a result of
> [CALCITE-1929|https://issues.apache.org/jira/browse/CALCITE-1929].
> {noformat}
> testMaterializedView(org.apache.calcite.test.CassandraAdapterIT) Time
> elapsed: 0.605 sec <<< ERROR!
> java.lang.NoClassDefFoundError:
> org/apache/calcite/rel/type/RelDataTypeFactory$Builder
> at
> org.apache.calcite.adapter.cassandra.CassandraSchemaFactory.create(CassandraSchemaFactory.java:40)
> at org.apache.calcite.model.ModelHandler.visit(ModelHandler.java:214)
> at
> org.apache.calcite.model.JsonCustomSchema.accept(JsonCustomSchema.java:45)
> at org.apache.calcite.model.ModelHandler.visit(ModelHandler.java:143)
> at org.apache.calcite.model.ModelHandler.<init>(ModelHandler.java:85)
> at org.apache.calcite.jdbc.Driver$1.onConnectionInit(Driver.java:104)
> at
> org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:139)
> at java.sql.DriverManager.getConnection(DriverManager.java:664)
> at java.sql.DriverManager.getConnection(DriverManager.java:208)
> at
> org.apache.calcite.test.CalciteAssert$MapConnectionFactory.createConnection(CalciteAssert.java:1156)
> at
> org.apache.calcite.test.CalciteAssert$AssertQuery.createConnection(CalciteAssert.java:1195)
> at
> org.apache.calcite.test.CalciteAssert$AssertQuery.returns(CalciteAssert.java:1266)
> at
> org.apache.calcite.test.CalciteAssert$AssertQuery.explainMatches(CalciteAssert.java:1356)
> at
> org.apache.calcite.test.CalciteAssert$AssertQuery.explainContains(CalciteAssert.java:1351)
> at
> org.apache.calcite.test.CassandraAdapterIT.testMaterializedView(CassandraAdapterIT.java:167)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> at
> org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.calcite.rel.type.RelDataTypeFactory$Builder
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 33 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)