最近,我们从4.x datastax cassandra迁移到了5.1.4 datastax cassandra。我们正在使用thriftQueries写入和读取4.x的数据。升级后,我们已经能够在cassandra中写入数据,但是当我们尝试获取数据时会失败。这可能是什么原因?请在下面找到附件日志。
[2018-11-16T20:34:29.020Z]错误[L:nemo.interactions.indexer.impl.consumer.ContextVariableSearchConsumer T:'pool-14-thread-8'I:TR:SQ: ND:]-消费上下文事件中的错误 com.tfsc.ilabs.chronos.core.api.exceptions.ChronosFatalException:com.tfsc.ilabs.chronos.core.cassandra.api.exceptions.CassandraFatalExcep 位置:com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException:PoolTimeoutException:[host = history-cassandra03.assist-db.stagi ng.va1.247-inc.net(10.67.169.9):9160,延迟= 1998(1998),尝试次数= 3]等待连接超时 在com.tfsc.ilabs.chronos.queue.consumer.impl.ChronosEventPartitionConsumer.getAllEvents(ChronosEventPartitionConsumer.java:275)〜 [?:?] 在com.tfsc.ilabs.nemo.interactions.indexer.impl.consumer.ContextVariableSearchConsumer.run(ContextVariableSearchConsumer.java:181 )[com.tfsc.ilabs.nemo.interactions.indexer_2.29.0.201810080618.jar :?] 在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)[?:1.8.0_172] 在java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[?:1.8.0_172] 在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(ScheduledThreadPoolExecutor.java:180)[?:1.8.0_ 172] 在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[?:1.8.0_172] 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[?:1.8.0_172] 在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)[?:1.8.0_172] 在java.lang.Thread.run(Thread.java:748)[?:1.8.0_172] 造成原因:com.tfsc.ilabs.chronos.core.cassandra.api.exceptions.CassandraFatalException:com.netflix.astyanax.connectionpool.exceptions.Po olTimeoutException:PoolTimeoutException:[host = history-cassandra03.assist-db.staging.va1.247-inc.net(10.67.169.9):9160,等待时间= 1998(1998 ),尝试次数= 3]等待连接超时 在com.tfsc.ilabs.chronos.core.cassandra.impl.CassandraClientImpl._fetchRows(CassandraClientImpl.java:582)〜[?:?] 在com.tfsc.ilabs.chronos.core.cassandra.impl.CassandraClientImpl.fetchRowsConsistent(CassandraClientImpl.java:560)〜[?:?] 在com.tfsc.ilabs.chronos.queue.consumer.impl.ChronosEventPartitionConsumer.getAllEvents(ChronosEventPartitionConsumer.java:244)〜 [?:?] ...还有8个