You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Saikat Maitra (JIRA)" <ji...@apache.org> on 2019/03/18 00:33:00 UTC
[jira] [Commented] (IGNITE-7757) Unable to create a new cache via
REST in special case
[ https://issues.apache.org/jira/browse/IGNITE-7757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794624#comment-16794624 ]
Saikat Maitra commented on IGNITE-7757:
---------------------------------------
[~pkonstantinov]
I was trying to reproduce the issue in local and when I tried the second request
{code:java}
http://localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
{code}
I was able to get successful response as below
{{}}
{code:java}
{
successStatus: 0, error: null, sessionToken: null, response: null
}
{code}
Regards,
Saikat
> Unable to create a new cache via REST in special case
> -----------------------------------------------------
>
> Key: IGNITE-7757
> URL: https://issues.apache.org/jira/browse/IGNITE-7757
> Project: Ignite
> Issue Type: Bug
> Reporter: Pavel Konstantinov
> Priority: Major
>
> 1. try to start a new cache with non-existing data region
> {code}
> localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&dataRegion=0000
> {code}
> You will get correct error message
> {code}
> "Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion is not configured: 0000]"
> {code}
> 2. then edit your request and make it correct and try again
> {code}
> localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
> {code}
> You will get the same error message
> {code}
> "Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion is not configured: 0000]"
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)