Hi Steve!

It seems you close cache on your service stop. Given service is getting
stopped because of the node shutdown cache close request cannot be
processed and exception is thrown.

I think for now you should just catch this exception in your service
close() method.

I will start discussion on dev list regarding exception handling.

--Yakov

2016-02-21 1:02 GMT+03:00 Steve Scheck <[email protected]>:

> I observe this exception when my application hosting an Ignite cluster is
> shutdown (normal JVM termination, via SIGTERM):
>
> 2016-02-20T21:55:49.266+0000 [Thread-5] ERROR IgniteKernal%SOMOS_EN_FUEGO []
> - Failed to pre-stop processor: GridProcessorAdapter []
> javax.cache.CacheException: class
> org.apache.ignite.IgniteCheckedException: Failed to execute dynamic cache
> change request, node is stopping.
>         at
> org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1618)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:1876)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.close(IgniteCacheProxy.java:1663)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at
> com.ssn.sensoriq.job.geoff.service.DefaultJobManagerService.cancel(DefaultJobManagerService.java:93)
> ~[classes!/:na]
>         at
> org.apache.ignite.internal.processors.service.GridServiceProcessor.onKernalStop(GridServiceProcessor.java:222)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:1811)
> [ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:1757)
> [ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2207)
> [ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2170)
> [ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2.run(IgnitionEx.java:1731)
> [ignite-core-1.5.6.jar!/:1.5.6]
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to execute
> dynamic cache change request, node is stopping.
>         at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.initiateCacheChanges(GridCacheProcessor.java:2382)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicCloseCache(GridCacheProcessor.java:2287)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.close(IgniteCacheProxy.java:1653)
> ~[ignite-core-1.5.6.jar!/:1.5.6]
>         ... 7 common frames omitted
>
> What does this mean? Is it something to be concerned with?
>
> Thanks.
>
>

Reply via email to