为什么Spark-Cassandra-Connector有时会返回日期列的错误数据?
I faced with issues, the Cassandra Connector in java may return incorrect values for date column in Cassandra. If I reload the app, everything fine. I don't know why it happens and how can I fix it
As you can see it return address of object, but not the value.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您需要执行维修因为您的数据不同步。 Spark Cassandra Connector使用
local_one
一致性级别读取数据,因此当它到达包含过时数据的节点时,它会读取过时的数据。I believe that you need to perform a repair because your data is out of sync. Spark Cassandra Connector reads data using the
LOCAL_ONE
consistency level, so when it reach the node that contains outdated data, then it reads the stale data.