当我尝试在Cassandra集群上执行查询时,我间歇性地收到以下错误:
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried)
at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108)
at com.datastax.driver.core.SessionManager.execute(SessionManager.java:525)
at com.datastax.driver.core.SessionManager.executeQuery(SessionManager.java:561)
at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:118)
群集非常活跃,所有节点都已启动。发生此异常时,Cassandra日志未显示任何错误或连接问题。
应用详情:
如何解决此问题?或者我在哪里可以查找与此问题相关的日志?