You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2016/07/19 09:28:20 UTC
[jira] [Resolved] (IGNITE-945) HTTP REST prepend/append commands
failed
[ https://issues.apache.org/jira/browse/IGNITE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Magda resolved IGNITE-945.
--------------------------------
Resolution: Fixed
> 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: Saikat Maitra
> Labels: newbie
> Fix For: 1.7
>
>
> 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)