有时在应用程序启动时会出现异常,在应用程序运行期间会更频繁.此外,应用程序启动缓慢.
解决方案您的客户端节点很可能由于某种原因而断开连接.您可以通过在客户端上预订 EVT_CLIENT_NODE_DISCONNECTED 事件来进行检查(有关如何执行此操作的更多信息,请参见[1]).
如果这种情况经常发生,则说明存在一些严重的问题.我要检查的第一件事是内存.确保您没有用完它,也没有长时间的GC暂停.
[1] 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] apacheignite.readme.io/docs/events
更多推荐
Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName
发布评论