You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/03 19:19:11 UTC
[jira] [Commented] (IGNITE-945) HTTP REST prepend/append commands
failed
[ https://issues.apache.org/jira/browse/IGNITE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360646#comment-15360646 ]
ASF GitHub Bot commented on IGNITE-945:
---------------------------------------
GitHub user samaitra opened a pull request:
https://github.com/apache/ignite/pull/847
IGNITE-945 HTTP REST prepend/append commands failed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/samaitra/ignite IGNITE-945
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/847.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #847
----
commit 6334754b5f106a9eee34a0f086aca8a5f92ee04f
Author: samaitra <sa...@gmail.com>
Date: 2016-07-02T22:00:36Z
IGNITE-945 HTTP REST prepend/append commands failed
commit d58d7eaaa29790226dc8fca4517b19a19b4acffd
Author: samaitra <sa...@gmail.com>
Date: 2016-07-03T19:14:32Z
IGNITE-945 HTTP REST prepend/append commands failed
commit 813dc9774f38454de19b814a72b9745523c8a095
Author: samaitra <sa...@gmail.com>
Date: 2016-07-03T19:16:46Z
IGNITE-945 HTTP REST prepend/append commands failed
commit 436fe5057419793b14fa574ae9c019690045fd1b
Author: samaitra <sa...@gmail.com>
Date: 2016-07-03T19:17:58Z
IGNITE-945 HTTP REST prepend/append commands failed
----
> 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
>
> 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)