You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Shtykh (JIRA)" <ji...@apache.org> on 2018/07/10 06:30:00 UTC

[jira] [Commented] (IGNITE-8918) Redis examples don't work

    [ https://issues.apache.org/jira/browse/IGNITE-8918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538102#comment-16538102 ] 

Roman Shtykh commented on IGNITE-8918:
--------------------------------------

[~skozlov] In comments,

{{To execute this script, run an Ignite instance with 'redis-ignite-internal-cache-0' cache specified and configured.}}

Have you run the scripts with {{'redis-ignite-internal-cache-0'}} cache?

> Redis examples don't work
> -------------------------
>
>                 Key: IGNITE-8918
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8918
>             Project: Ignite
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.9
>            Reporter: Sergey Kozlov
>            Priority: Major
>
> Ther is no default cache anymore but redis examples (both php/python) still based on that apporach:
> {noformat}
> [08:23:32,245][SEVERE][rest-#70%null%][GridCacheCommandHandler] Failed to execute cache command: GridRestCacheRequest [cacheName=null, cacheFlags=0, ttl=null, super=GridRestRequest [destId=null, clientId=d6594e45-41eb-46db-a77e-8cbcd2310a55, addr=null, cmd=CACHE_PUT]]
> class org.apache.ignite.IgniteCheckedException: Failed to find cache for given cache name (null for default cache): null
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.localCache(GridCacheCommandHandler.java:754)
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.executeCommand(GridCacheCommandHandler.java:677)
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.handleAsync(GridCacheCommandHandler.java:468)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:264)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:87)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:153)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> [08:23:32,251][SEVERE][rest-#70%null%][GridRestProcessor] Failed to handle request: CACHE_PUT
> class org.apache.ignite.IgniteCheckedException: Failed to find cache for given cache name (null for default cache): null
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.localCache(GridCacheCommandHandler.java:754)
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.executeCommand(GridCacheCommandHandler.java:677)
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.handleAsync(GridCacheCommandHandler.java:468)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:264)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:87)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:153)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Fix examples



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)