开发者

When connecting to ttserver,I always get the "TimeoutException"?

开发者 https://www.devze.com 2023-04-12 05:30 出处:网络
The title of the exception is \"java.util.concurrent.TimeoutException: Timed out(5000) waiting for operation\"!

The title of the exception is "java.util.concurrent.TimeoutException: Timed out(5000) waiting for operation"! How can I set a approprate time for not exceeding the time out l开发者_如何学Goimit?! The whole exeption stack is:

**java.util.concurrent.TimeoutException: Timed out waiting for operation
    at net.rubyeye.xmemcached.XMemcachedClient.getMulti0(XMemcachedClient.java:1155)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1026)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1064)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1051)
    ......


A lot of reason can cause the ttserver client throw TimeoutException. In my situation, it was because of the replication to a node which did not exist.So when delete the startup parameters mhost and mport,the problem was fixed.....

Hope this can help someone else....

0

精彩评论

暂无评论...
验证码 换一张
取 消