我们使用数据堆栈 Java 驱动程序 (v3.6.0) 连接到卡桑德拉 (v3.11)。每当我们的基础设施团队关闭节点上的Cassandra时(逐个节点地修补操作系统),我们的查询就会保持正常运行。但是,我们确实在日志中看到了很多由数据堆栈驱动程序中的 NullPointers 导致的错误:
Error parsing schema from Cassandra system tables: the schema in Cluster#getMetadata() will appear incomplete or stale
java.lang.NullPointerException: null
at c.d.d.mapping.MappingManager$1.onTableChanged(MappingManager.java:160)
at c.d.driver.core.Metadata.triggerOnTableChanged(Metadata.java:696)
at c.d.driver.core.SchemaParser.updateTables(SchemaParser.java:484)
at c.d.driver.core.SchemaParser.refresh(SchemaParser.java:130)
at c.d.d.core.ControlConnection.refreshSchema(ControlConnection.java:408)
at c.d.d.core.ControlConnection.refreshSchema(ControlConnection.java:354)
at c.d.d.c.Cluster$Manager$SchemaRefreshRequestDeliveryCallback$1.runMayThrow(Cluster.java:2867)
at c.d.d.c.ExceptionCatchingRunnable.run(ExceptionCatchingRunnable.java:32)
at j.u.c.Executors$RunnableAdapter.call(Executors.java:511)
at c.g.c.u.c.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
at c.g.c.u.c.InterruptibleTask.run(InterruptibleTask.java:58)
at c.g.c.u.c.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
at j.u.c.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at j.u.c.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at i.n.u.c.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
这看起来有人熟悉吗?在谷歌搜索这个问题时,我找不到太多,所以我想知道我们是否做错了什么,或者这是一个已知的问题......
温温酱
相关分类