ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-945) HTTP REST prepend/append commands failed
Date Mon, 01 Jun 2015 08:05:19 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitriy Setrakyan reassigned IGNITE-945:
----------------------------------------

    Assignee: Marko Jevtic

> HTTP REST prepend/append commands failed
> ----------------------------------------
>
>                 Key: IGNITE-945
>                 URL: https://issues.apache.org/jira/browse/IGNITE-945
>             Project: Ignite
>          Issue Type: Bug
>          Components: newbie
>    Affects Versions: sprint-5
>            Reporter: Sergey Kozlov
>            Assignee: Marko Jevtic
>
> Requests http://localhost:8080/ignite?cacheName=partitioned_cache&key=1&cmd=prepend&val=p
> http://localhost:8080/ignite?cacheName=partitioned_cache&key=1&cmd=append&val=a
> returns same error:
> {noformat}
> {"error":"Failed to start transaction on non-transactional cache: partitioned_cache","response":null,"sessionToken":"","successStatus":1}
> {noformat}
> Node output is following:
> {noformat}
> [14:01:32,555][SEVERE][ignite-#12%pub-null%][GridRestProcessor] Failed to handle request:
CACHE_PREPEND
> class org.apache.ignite.IgniteCheckedException: Failed to start transaction on non-transactional
cache: partitioned_cache
> 	at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:6732)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:901)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: class org.apache.ignite.IgniteException: Failed to start transaction on non-transactional
cache: partitioned_cache
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTransactionsImpl.checkTransactional(IgniteTransactionsImpl.java:193)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTransactionsImpl.txStartEx(IgniteTransactionsImpl.java:121)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.txStartEx(GridCacheAdapter.java:3239)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.txStartEx(GridCacheProxyImpl.java:808)
> 	at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler$1.call(GridCacheCommandHandler.java:405)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6124)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:893)
> 	... 4 more
> {noformat}
> Is there a limitation for use non-transactional caches for prepend/append commands?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message