为什么Spark-Cassandra-Connector有时会返回日期列的错误数据?

发布于 2025-02-13 12:13:08 字数 206 浏览 0 评论 0原文

我面对问题,Java的Cassandra连接器可能会返回Cassandra日期列的不正确值。如果我重新加载该应用程序,一切都很好。我不知道为什么会发生这种情况以及如何修复

​ 价值。

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

enter image description here

As you can see it return address of object, but not the value.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深海里的那抹蓝 2025-02-20 12:13:09

我相信您需要执行维修因为您的数据不同步。 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文