Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName [英] Apache Ignite Cache Error:caused by java.lang.illegalstateexception : Cache has been closed or destroyed: cacheName

查看:76
本文介绍了Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时在应用程序启动时会出现异常,在应用程序运行期间会更频繁.此外,应用程序启动缓慢.

解决方案

您的客户端节点很可能由于某种原因而断开连接.您可以通过在客户端上预订 EVT_CLIENT_NODE_DISCONNECTED 事件来进行检查(有关如何执行此操作的更多信息,请参见[1]).

如果这种情况经常发生,则说明存在一些严重的问题.我要检查的第一件事是内存.确保您没有用完它,也没有长时间的GC暂停.

[1] https://apacheignite.readme.io/docs/events

The exception sometimes comes on the start of application,more frequently during the performance of the application .Moreover,the application starts slowly.

解决方案

Most likely your client node disconnects for some reason. You can check this by subscribing to EVT_CLIENT_NODE_DISCONNECTED event on the client (see [1] for more info on how to do this).

If this happens frequently, then there are some serious issues. The first thing I would check is the memory. Make sure that you're not running out of it and that you do not experience long GC pauses.

[1] https://apacheignite.readme.io/docs/events

这篇关于Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆