You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2020/06/23 07:32:00 UTC

[jira] [Created] (CALCITE-4084) Cassandra tests: random initializationError

Ruben Q L created CALCITE-4084:
----------------------------------

             Summary: Cassandra tests: random initializationError
                 Key: CALCITE-4084
                 URL: https://issues.apache.org/jira/browse/CALCITE-4084
             Project: Calcite
          Issue Type: Bug
          Components: cassandra-adapter
    Affects Versions: 1.23.0
            Reporter: Ruben Q L


It seems that, under certain configuration(s), cassandra tests fail with initializationError.
See example here: https://builds.apache.org/job/Calcite-Master/1802/jdk=JDK%201.8%20(latest),label_exp=ubuntu/consoleFull

Error message:
{code}
> Task :cassandra:test
          6.4sec, org.apache.calcite.test.CassandraAdapterTest > testSortOffset()
         71.4sec,   11 completed,   0 failed,   0 skipped, org.apache.calcite.test.CassandraAdapterTest
FAILURE   0.0sec, org.apache.calcite.test.CassandraAdapterDataTypesTest > initializationError
    com.datastax.driver.core.exceptions.OperationTimedOutException: [localhost/127.0.0.1:9142] Timed out waiting for server response
        at com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:43)
        at com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:25)
        at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:35)
        at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:293)
        at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:58)
        at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:39)
        at org.cassandraunit.utils.CqlOperations.lambda$execute$0(CqlOperations.java:16)
        at org.cassandraunit.utils.CqlOperations.lambda$dropKeyspace$3(CqlOperations.java:29)
        at org.cassandraunit.CQLDataLoader.initKeyspaceContext(CQLDataLoader.java:51)
        at org.cassandraunit.CQLDataLoader.load(CQLDataLoader.java:30)
        at org.apache.calcite.test.CassandraAdapterDataTypesTest.load(CassandraAdapterDataTypesTest.java:53)
        Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: [localhost/127.0.0.1:9142] Timed out waiting for server response
            at com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:954)
            at com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1575)
            at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
            at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
            at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
            at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
            at java.lang.Thread.run(Thread.java:748)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)