Description
0. Copy attached configurations files into examples\config directory, source code into org.apache.ignite.examples.datagrid
1. Start server 6 nodes:
bin\ignite examples\config\putall.xml
2. Start CachePutAllGetAllExample in IDEA. The example iterates removeAll/put/putAll/getAll operations over same cache. The expected behaviour is no NULL values returned by getAll.
3. The output like the following:
1345 C:\Java\jdk1.7.0_80\bin\java -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 14.1.4\bin" -Dfile.encoding=windows-1251 -classpath "C:\Java\jdk1.7.0_80\jre\lib\charsets.jar;C:\Java\jdk1.7.0_80\jre\lib\deploy.jar;C:\Java\jdk1.7.0_80\jre\lib\javaws.jar;C:\Java\jdk1.7.0_80\jre\lib\jce.jar;C:\Java\jdk1.7.0_80\jre\lib\jfr.jar;C:\Java\jdk1.7.0_80\jre\lib\jfxrt.jar;C:\Java\jdk1.7.0_80\jre\lib\jsse.jar;C:\Java\jdk1.7.0_80\jre\lib\management-agent.jar;C:\Java\jdk1.7.0_80\jre\lib\plugin.jar;C:\Java\jdk1.7.0_80\jre\lib\resources.jar;C:\Java\jdk1.7.0_80\jre\lib\rt.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\access-bridge-64.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\dnsns.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\jaccess.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\localedata.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\sunec.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.7.0_80\jre\lib\ext\zipfs.jar;C:\Work\apache-ignite-fabric-1.5.0.final-bin\examples\target\classes;C:\Users\gridgain\.m2\repository\javax\cache\cache-api\1.0.0\cache-api-1.0.0.jar;C:\Users\gridgain\.m2\repository\org\apache\ignite\ignite-core\1.5.0.final\ignite-core-1.5.0.final.jar;C:\Users\gridgain\.m2\repository\org\gridgain\ignite-shmem\1.0.0\ignite-shmem-1.0.0.jar;C:\Users\gridgain\.m2\repository\org\apache\ignite\ignite-spring\1.5.0.final\ignite-spring-1.5.0.final.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-core\4.1.0.RELEASE\spring-core-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-aop\4.1.0.RELEASE\spring-aop-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-beans\4.1.0.RELEASE\spring-beans-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-context\4.1.0.RELEASE\spring-context-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-expression\4.1.0.RELEASE\spring-expression-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-tx\4.1.0.RELEASE\spring-tx-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\org\springframework\spring-jdbc\4.1.0.RELEASE\spring-jdbc-4.1.0.RELEASE.jar;C:\Users\gridgain\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\gridgain\.m2\repository\org\apache\ignite\ignite-log4j\1.5.0.final\ignite-log4j-1.5.0.final.jar;C:\Users\gridgain\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\gridgain\.m2\repository\org\apache\ignite\ignite-indexing\1.5.0.final\ignite-indexing-1.5.0.final.jar;C:\Users\gridgain\.m2\repository\commons-codec\commons-codec\1.6\commons-codec-1.6.jar;C:\Users\gridgain\.m2\repository\org\apache\lucene\lucene-core\3.5.0\lucene-core-3.5.0.jar;C:\Users\gridgain\.m2\repository\com\h2database\h2\1.3.175\h2-1.3.175.jar;C:\Users\gridgain\.m2\repository\com\google\code\simple-spring-memcached\spymemcached\2.7.3\spymemcached-2.7.3.jar;C:\Users\gridgain\.m2\repository\org\jboss\netty\netty\3.2.0.Final\netty-3.2.0.Final.jar;C:\Users\gridgain\.m2\repository\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;C:\Users\gridgain\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 14.1.4\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.apache.ignite.examples.datagrid.CachePutAllGetAllExample [17:56:05] __________ ________________ [17:56:05] / _/ ___/ |/ / _/_ __/ __/ [17:56:05] _/ // (7 7 // / / / / _/ [17:56:05] /___/\___/_/|_/___/ /_/ /___/ [17:56:05] [17:56:05] ver. 1.5.0-final#20151229-sha1:f1f8cda2 [17:56:05] 2015 Copyright(C) Apache Software Foundation [17:56:05] [17:56:05] Ignite documentation: http://ignite.apache.org [17:56:05] [17:56:05] Quiet mode. [17:56:05] ^-- Logging to file 'C:\Work\apache-ignite-fabric-1.5.0.final-bin\work\log\ignite-5459abe4.log' [17:56:05] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat} [17:56:05] [17:56:05] OS: Windows 7 6.1 amd64 [17:56:05] VM information: Java(TM) SE Runtime Environment 1.7.0_80-b15 Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 24.80-b11 [17:56:05] Initial heap size is 254MB (should be no less than 512MB, use -Xms512m -Xmx512m). [17:56:06] Configured plugins: [17:56:06] ^-- None [17:56:06] [17:56:07] Security status [authentication=off, tls/ssl=off] [17:56:08] Performance suggestions for grid (fix if possible) [17:56:08] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true [17:56:08] ^-- Disable eviction policy (remove from configuration) [17:56:08] ^-- Decrease number of backups (set 'keyBackups' to 0) [17:56:08] ^-- Enable ATOMIC mode if not using transactions (set 'atomicityMode' to ATOMIC) [17:56:08] [17:56:08] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat} [17:56:08] [17:56:08] Ignite node started OK (id=5459abe4) [17:56:08] Topology snapshot [ver=25, servers=6, clients=1, CPUs=8, heap=9.5GB] >>> Starting put-putAll-getAll example for iteration 1 ... >>> Starting put-putAll-getAll example for iteration 41 Got NULL for key=29 Got NULL for key=36 Got NULL for key=41 >>> Starting put-putAll-getAll example for iteration 42 ... >>> Starting put-putAll-getAll example for iteration 436 Got NULL for key=29 Got NULL for key=36 Got NULL for key=41 >>> Starting put-putAll-getAll example for iteration 437 ... >>> Starting put-putAll-getAll example for iteration 997 Got NULL for key=5 Got NULL for key=10 Got NULL for key=18 Got NULL for key=23 Got NULL for key=26 Got NULL for key=37 Got NULL for key=46 Got NULL for key=47 Got NULL for key=48 >>> Starting put-putAll-getAll example for iteration 998 >>> Starting put-putAll-getAll example for iteration 999 >>> Starting put-putAll-getAll example for iteration 1000 [17:56:31] Ignite node stopped OK [uptime=00:00:22:718] Process finished with exit code 0
Attachments
Attachments
Issue Links
- blocks
-
IGNITE-1345 Cache stability issues in load/failover tests
- Open