Cassandra:间歇性连接错误:NoHostAvailableException

时间:2015-02-05 07:05:33

标签: java cassandra

当我尝试在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日志未显示任何错误或连接问题。

应用详情:

  • JDK 1.7
  • Cassandra v2.1.2 [4节点]
  • Cassandra Java Driver v2.1.4
  • cassandra.yaml

如何解决此问题?或者我在哪里可以查找与此问题相关的日志?

0 个答案:

没有答案