Hi Team,

I have 3 node server mode cluster setup with Cache mode Partitioned with 1
backup. We are receiving above error as soon as 2 nodes left from cluster.

All 3 nodes are on baselinetopology.

        Collection<BaselineNode> baselineNodes =
ignite.cluster().currentBaselineTopology();
        if(!CollectionUtils.isEmpty(baselineNodes) && baselineNodes.size() <
3){
            // Get all server nodes that are already up and running.
            Collection<ClusterNode> nodes =
ignite.cluster().forServers().nodes();

            // Set the baseline topology that is represented by these nodes.
            ignite.cluster().setBaselineTopology(nodes);

        }


Exception:

org.apache.ignite.cache.CacheServerNotFoundException: Failed to map keys for
cache (all partition nodes left the grid) [topVer=AffinityTopologyVersion
[topVer=13, minorTopVer=0], cache=users]
        at
org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1321)
        at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.cacheException(IgniteCacheProxyImpl.java:1758)
        at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:931)
        at
org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.get(GatewayProtectedCacheProxy.java:640)
        at
com.ibm.mobilefirst.cachemanager.LufthansaCacheDelegateImpl.getSubscribedFlights(LufthansaCacheDelegateImpl.java:477)
        at
com.ibm.mobilefirst.das.notification.impl.NotificationSubscriberServiceImpl.sendMessageUpdate(NotificationSubscriberServiceImpl.java:120)
        at
com.ibm.mobilefirst.das.notification.impl.NotificationSubscriberServiceImpl.processAndSend(NotificationSubscriberServiceImpl.java:65)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at
com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:95)
        at
com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:154)
        at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:80)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.lang.Thread.run(Thread.java:811)
Caused by: class
org.apache.ignite.internal.cluster.ClusterTopologyServerNotFoundException:
Failed to map keys for cache (all partition nodes left the grid)
[topVer=AffinityTopologyVersion [topVer=13, minorTopVer=0], cache=users]

Please help us. We required to run single node as well when it is required.

Thanks & Regards,
Venkat



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to