Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 532D7200BAF for ; Sun, 16 Oct 2016 22:28:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4FC54160AD0; Sun, 16 Oct 2016 20:28:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 99BE6160AE7 for ; Sun, 16 Oct 2016 22:28:21 +0200 (CEST) Received: (qmail 87644 invoked by uid 500); 16 Oct 2016 20:28:20 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 87626 invoked by uid 99); 16 Oct 2016 20:28:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2016 20:28:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7A9EA2C4C70 for ; Sun, 16 Oct 2016 20:28:20 +0000 (UTC) Date: Sun, 16 Oct 2016 20:28:20 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-4087) Broken usability in Near Cache component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 16 Oct 2016 20:28:22 -0000 Denis Magda created IGNITE-4087: ----------------------------------- Summary: Broken usability in Near Cache component Key: IGNITE-4087 URL: https://issues.apache.org/jira/browse/IGNITE-4087 Project: Ignite Issue Type: Bug Affects Versions: 1.7 Reporter: Denis Magda Assignee: Alexey Dmitriev Priority: Critical Fix For: 1.8 Presently, it's impossible to start a new distributed cache dynamically deploying it on server nodes and create a near cache for the distributed cache right after that. According to the documentation, it was feasible before (refer to the example). https://apacheignite.readme.io/docs/near-caches All the time I start the near cache on a client node following the example I get the exception below {code} Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: Failed to start near cache (a cache with the same name without near cache is already started) at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1507) at org.apache.ignite.internal.IgniteKernal.getOrCreateNearCache(IgniteKernal.java:2700) at org.apache.ignite.examples.ExampleNodeStartup.main(ExampleNodeStartup.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start near cache (a cache with the same name without near cache is already started) at org.apache.ignite.internal.IgniteKernal.checkNearCacheStarted(IgniteKernal.java:2713) at org.apache.ignite.internal.IgniteKernal.getOrCreateNearCache(IgniteKernal.java:2695) ... 6 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)