ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Kozlov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-513) Java8 QueryPopularNumbers fails to start
Date Thu, 19 Mar 2015 15:36:41 GMT
Sergey Kozlov created IGNITE-513:
------------------------------------

             Summary: Java8 QueryPopularNumbers fails to start
                 Key: IGNITE-513
                 URL: https://issues.apache.org/jira/browse/IGNITE-513
             Project: Ignite
          Issue Type: Bug
    Affects Versions: sprint-2
            Reporter: Sergey Kozlov
            Assignee: Yakov Zhdanov
             Fix For: sprint-2


Branch 45. Idea. Java8 examples

The instruction says do following:

1. Start node ExampleNodeStartup.Passed
2. Start StreamRandomNumbers. Passed
3. Start QueryPopularNumbers. Failed:

{noformat}
Exception in thread "main" org.apache.ignite.internal.processors.cache.IgniteCacheExistsException:
Failed to start cache (a cache with the same name is already started): randomNumbers
	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCache(GridCacheProcessor.java:1540)
	at org.apache.ignite.internal.IgniteKernal.getOrCreateCache(IgniteKernal.java:2280)
	at org.apache.ignite.examples.java8.streaming.numbers.QueryPopularNumbers.main(QueryPopularNumbers.java:49)
	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:483)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
{noformat}

I seems QueryPopularNumbers shouldn't start cache "randomNumbers" because it already started
by StreamRandomNumbers. 



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

Mime
View raw message