关于cassandra 读取百万级数据
当从cassandra中读取5百万条数据时,出现连接超时异常
010-11-29 14:31:08,390 INFO [me.prettyprint.cassandra.service.JmxMonitor] - Registering JMX me.prettyprint.cassandra.service:ServiceType=gg,MonitorType=hector
2010-11-29 14:31:08,453 INFO [me.prettyprint.cassandra.service.CassandraClientPoolImpl] - Creating a CassandraClientPool
2010-11-29 14:31:08,453 INFO [me.prettyprint.cassandra.service.CassandraClientPoolImpl] - Creating a CassandraClientPool with the following configuration: 192.168.0.136(192.168.0.136):9160
2010-11-29 14:31:18,671 WARN [me.prettyprint.cassandra.service.FailoverOperator] - Got a TimedOutException from 192.168.0.136. Num of retries: 1 (thread=main)
2010-11-29 14:31:18,671 INFO [me.prettyprint.cassandra.service.FailoverOperator] - Skipping to next host (thread=main). Current host is: 192.168.0.136
2010-11-29 14:31:18,671 INFO [me.prettyprint.cassandra.service.FailoverOperator] - Invalidating client CassandraClient<192.168.0.136:9160-1> (thread=main)
2010-11-29 14:31:18,687 INFO [me.prettyprint.cassandra.service.FailoverOperator] - Skipped host (thread=main). New client is CassandraClient<192.168.0.136:9160-2>
2010-11-29 14:31:28,796 WARN [me.prettyprint.cassandra.service.FailoverOperator] - Got a TimedOutException from 192.168.0.136. Num of retries: 0 (thread=main)
2010-11-29 14:31:28,796 INFO [me.prettyprint.cassandra.service.FailoverOperator] - Invalidating client CassandraClient<192.168.0.136:9160-2> (thread=main)
2010-11-29 14:31:28,796 ERROR [com.ggms.main.HectorClient] - HectorClient.class-->getCount
TimedOutException()
at org.apache.cassandra.thrift.Cassandra$get_count_result.read(Cassandra.java:8387)
求助!!!!!!!!!!!!!!!1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
引用来自#2楼“苏伟”的帖子
一次性读5百万条?
一次性读5百万条?