You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2016/10/16 20:28:20 UTC
[jira] [Created] (IGNITE-4087) Broken usability in Near Cache
component
Denis Magda created IGNITE-4087:
-----------------------------------
Summary: Broken usability in Near Cache component
Key: IGNITE-4087
URL: https://issues.apache.org/jira/browse/IGNITE-4087
Project: Ignite
Issue Type: Bug
Affects Versions: 1.7
Reporter: Denis Magda
Assignee: Alexey Dmitriev
Priority: Critical
Fix For: 1.8
Presently, it's impossible to start a new distributed cache dynamically deploying it on server nodes and create a near cache for the distributed cache right after that.
According to the documentation, it was feasible before (refer to the example).
https://apacheignite.readme.io/docs/near-caches
All the time I start the near cache on a client node following the example I get the exception below
{code}
Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: Failed to start near cache (a cache with the same name without near cache is already started)
at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1507)
at org.apache.ignite.internal.IgniteKernal.getOrCreateNearCache(IgniteKernal.java:2700)
at org.apache.ignite.examples.ExampleNodeStartup.main(ExampleNodeStartup.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start near cache (a cache with the same name without near cache is already started)
at org.apache.ignite.internal.IgniteKernal.checkNearCacheStarted(IgniteKernal.java:2713)
at org.apache.ignite.internal.IgniteKernal.getOrCreateNearCache(IgniteKernal.java:2695)
... 6 more
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)