[jira] [Updated] (IGNITE-613) [Test] IgniteCacheReplicatedQuerySelfTest # testNodeLeft fails
[ https://issues.apache.org/jira/browse/IGNITE-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Magda updated IGNITE-613: --- Affects Version/s: ignite-1.4 > [Test] IgniteCacheReplicatedQuerySelfTest # testNodeLeft fails > -- > > Key: IGNITE-613 > URL: https://issues.apache.org/jira/browse/IGNITE-613 > Project: Ignite > Issue Type: Bug >Affects Versions: ignite-1.4 >Reporter: Artem Shutak >Assignee: Denis Magda > Labels: failedtest > Attachments: ignite-613.patch > > > IgniteCacheReplicatedQuerySelfTest #testNodeLeft test fails by unknown > reason (should be unmuted on TC after fix). > Test works long and fails after. Should be enabled after fix. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (IGNITE-613) [Test] IgniteCacheReplicatedQuerySelfTest # testNodeLeft fails
[ https://issues.apache.org/jira/browse/IGNITE-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Magda updated IGNITE-613: --- Assignee: Sergi Vladykin (was: Denis Magda) > [Test] IgniteCacheReplicatedQuerySelfTest # testNodeLeft fails > -- > > Key: IGNITE-613 > URL: https://issues.apache.org/jira/browse/IGNITE-613 > Project: Ignite > Issue Type: Bug >Affects Versions: ignite-1.4 >Reporter: Artem Shutak >Assignee: Sergi Vladykin >Priority: Critical > Labels: failedtest > Attachments: ignite-613.patch > > > IgniteCacheReplicatedQuerySelfTest #testNodeLeft test fails by unknown > reason (should be unmuted on TC after fix). > Test works long and fails after. Should be enabled after fix. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (IGNITE-1289) Platforms .Net: Move portable marshaller to Ignite.
[ https://issues.apache.org/jira/browse/IGNITE-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn closed IGNITE-1289. --- > Platforms .Net: Move portable marshaller to Ignite. > --- > > Key: IGNITE-1289 > URL: https://issues.apache.org/jira/browse/IGNITE-1289 > Project: Ignite > Issue Type: Sub-task > Components: interop >Affects Versions: 1.1.4 >Reporter: Vladimir Ozerov >Assignee: Pavel Tupitsyn >Priority: Critical > Fix For: ignite-1.5 > > > We need to move portable serialziation logic to Ignite. It is important that > initially we _must_not_ move pre-configured classes to Ignite. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (IGNITE-1028) 4 tests from GridCacheP2PUndeploySelfTest fail
[ https://issues.apache.org/jira/browse/IGNITE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Vinogradov reassigned IGNITE-1028: Assignee: Anton Vinogradov > 4 tests from GridCacheP2PUndeploySelfTest fail > -- > > Key: IGNITE-1028 > URL: https://issues.apache.org/jira/browse/IGNITE-1028 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak >Assignee: Anton Vinogradov > Fix For: ignite-1.4 > > > Next tests of GridCacheP2PUndeploySelfTest fail > testSwapP2PReplicatedNoPreloading > testSwapP2PPartitionedNoPreloading > testSwapP2PReplicated > testSwapP2PPartitioned > Looks like the issue in cache (swapSize). > {noformat} > [12:11:10,352][INFO ][main][root] >>> Starting test: > testSwapP2PReplicatedNoPreloading <<< > [12:11:10,362][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > >>>__ > >>> / _/ ___/ |/ / _/_ __/ __/ > >>> _/ // (7 7// / / / / _/ > >>> /___/\___/_/|_/___/ /_/ /___/ > >>> > >>> ver. 1.1.3-SNAPSHOT#19700101-sha1:DEV > >>> 2015 Copyright(C) Apache Software Foundation > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Config URL: > n/a > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Daemon > mode: off > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS: Linux > 3.13.0-44-generic amd64 > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS user: > ashutak > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Language > runtime: Java Platform API Specification ver. 1.7 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > information: Java(TM) SE Runtime Environment 1.7.0_75-b13 Oracle Corporation > Java HotSpot(TM) 64-Bit Server VM 24.75-b04 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM total > memory: 3.5GB > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Remote > Management [restart: off, REST: off, JMX (remote: off)] > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > IGNITE_HOME=/home/ashutak/dev/incubator-ignite > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > arguments: [-ea, -Didea.launcher.port=7535, > -Didea.launcher.bin.path=/home/ashutak/Programms/idea-IC-139.659.2/bin, > -Dfile.encoding=UTF-8] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Configured > caches ['ignite-marshaller-sys-cache', 'ignite-sys-cache', > 'ignite-atomics-sys-cache', 'replicated', 'partitioned'] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] 3-rd party > licenses can be found at: /home/ashutak/dev/incubator-ignite/libs/licenses > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Local node > user attribute [nodeIndex=0] > [12:11:10,365][WARN ][test-runner][GridCacheP2PUndeploySelfTest1] Peer class > loading is enabled (disable it in production for performance and deployment > consistency reasons) > [12:11:10,365][WARN > ][ignite-#149%pub-cache.GridCacheP2PUndeploySelfTest1%][GridDiagnostic] > Initial heap size is 248MB (should be no less than 512MB, use -Xms512m > -Xmx512m). > [12:11:10,369][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > Non-loopback local IPs: 192.168.3.2, fe80:0:0:0:de85:deff:fe5e:923%3 > [12:11:10,370][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Enabled > local MACs: DC85DE5E0923 > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] Configured plugins: > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] ^-- None > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] IPC shared memory > server endpoint started [port=48104, > tokDir=/tmp/ignite/work/ipc/shmem/101c90c6-041c-4189-8447-8bd55866f001-9485] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] Successfully bound > shared memory communication to TCP port [port=48104, locHost=/127.0.0.1] > [12:11:10,374][INFO ][test-runner][TcpCommunicationSpi] Successfully bound to > TCP port [port=45014, locHost=/127.0.0.1] > [12:11:10,385][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Security > status [authentication=off] > [12:11:10,383][WARN ][test-runner][GridCollisionManager] Collision resolution > is disabled (all jobs will be activated upon arrival). > [12:11:10,404][INFO ][test-runner][TcpDiscoverySpi] Successfully bound to TCP > port [port=47506, localHost=/127.0.0.1] > [12:11:10,414][INFO ][test-runner][GridCacheProcessor] Started cache > [name=ignite-marshaller-sys-cache, mode=REPLICATED] > [12:11:10,417][WARN ][test-runner][GridCacheProcessor] Near cache cannot be > used with REPLICATED cache, will be ignored [cacheName=replicated] > [12:11:10,417][INFO
[jira] [Created] (IGNITE-1422) .Net: Marshalling can be optimized for fixed-length objects.
Vladimir Ozerov created IGNITE-1422: --- Summary: .Net: Marshalling can be optimized for fixed-length objects. Key: IGNITE-1422 URL: https://issues.apache.org/jira/browse/IGNITE-1422 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Sometimes we can guess user object length in advance: 1) Strict rule: it is "reflective" and contains only fixed-length fields. 2) Speculative rule: It is "marshal aware", contains only fixed-length fields and there is only one metadata "path". In these cases we can do the following: 1) No tracking of length and raw offset. 2) Header can be written as one memcpy() rather than as multiple int/byte/bool writes. We need to have a fallback strategy for a cases when new metadata path appears or user write raw data. It is very easy: if expected and actual lengths differ at the end, set proper values. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (IGNITE-801) [Test] GridCacheReplicatedDataStructuresFailoverSelfTest hangs on TC
[ https://issues.apache.org/jira/browse/IGNITE-801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Magda updated IGNITE-801: --- Attachment: ignite-801.patch > [Test] GridCacheReplicatedDataStructuresFailoverSelfTest hangs on TC > > > Key: IGNITE-801 > URL: https://issues.apache.org/jira/browse/IGNITE-801 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak >Assignee: Denis Magda > Labels: failedtest > Attachments: ignite-801.patch > > > See GG-5306 > http://94.72.60.102/viewLog.html?buildId=113217=bt6=buildResultsDiv > {noformat} > 2013-05-31 10:39:07 > Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode): > "Attach Listener" daemon prio=10 tid=0x03a94800 nid=0x648 waiting on > condition [0x] >java.lang.Thread.State: RUNNABLE > "tcp-disco-sock-reader-#2408%a940475f-1965-484a-8a43-0a1fcc3bf292" prio=10 > tid=0x7f06f8b1a000 nid=0x42d runnable [0x7f0702d84000] >java.lang.Thread.State: RUNNABLE > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:150) > at java.net.SocketInputStream.read(SocketInputStream.java:121) > at > org.gridgain.grid.marshaller.jdk.GridJdkMarshallerInputStreamWrapper.read(GridJdkMarshallerInputStreamWrapper.java:47) > at > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2308) > at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2321) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2792) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:799) > at java.io.ObjectInputStream.init(ObjectInputStream.java:299) > at > org.gridgain.grid.marshaller.jdk.GridJdkMarshallerObjectInputStream.init(GridJdkMarshallerObjectInputStream.java:30) > at > org.gridgain.grid.marshaller.jdk.GridJdkMarshaller.unmarshal(GridJdkMarshaller.java:115) > at > org.gridgain.grid.spi.discovery.tcp.GridTcpDiscoverySpi$SocketReader.body(GridTcpDiscoverySpi.java:3985) > at org.gridgain.grid.spi.GridSpiThread.run(GridSpiThread.java:56) > "Thread-1905" prio=10 tid=0x7f06f8268000 nid=0x428 waiting on condition > [0x7f06e1f29000] >java.lang.Thread.State: TIMED_WAITING (sleeping) > at java.lang.Thread.sleep(Native Method) > at > org.gridgain.grid.kernal.GridKernalGatewayImpl.writeLock(GridKernalGatewayImpl.java:89) > at org.gridgain.grid.kernal.GridKernal.stop0(GridKernal.java:1629) > - locked 0x00078a53c600 (a > org.gridgain.grid.util.GridBreaker) > at org.gridgain.grid.kernal.GridKernal.stop(GridKernal.java:1605) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop0(GridFactory.java:2295) > - locked 0x00078a473b60 (a > org.gridgain.grid.GridFactory$GridNamedInstance) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop(GridFactory.java:2256) > at > org.gridgain.grid.GridFactory$GridNamedInstance$2.run(GridFactory.java:2223) > "Thread-1911" prio=10 tid=0x026b1000 nid=0x420 waiting on condition > [0x7f06e6af4000] >java.lang.Thread.State: TIMED_WAITING (sleeping) > at java.lang.Thread.sleep(Native Method) > at > org.gridgain.grid.kernal.GridKernalGatewayImpl.writeLock(GridKernalGatewayImpl.java:89) > at org.gridgain.grid.kernal.GridKernal.stop0(GridKernal.java:1629) > - locked 0x000789b76068 (a > org.gridgain.grid.util.GridBreaker) > at org.gridgain.grid.kernal.GridKernal.stop(GridKernal.java:1605) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop0(GridFactory.java:2295) > - locked 0x00078a4738f8 (a > org.gridgain.grid.GridFactory$GridNamedInstance) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop(GridFactory.java:2256) > at > org.gridgain.grid.GridFactory$GridNamedInstance$2.run(GridFactory.java:2223) > "SIGTERM handler" daemon prio=10 tid=0x01ec2800 nid=0x41e in > Object.wait() [0x7f06e8316000] >java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native Method) > at java.lang.Thread.join(Thread.java:1258) > - locked 0x00078a473948 (a > org.gridgain.grid.GridFactory$GridNamedInstance$2) > at java.lang.Thread.join(Thread.java:1332) > at > java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:106) > at > java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:46) > at java.lang.Shutdown.runHooks(Shutdown.java:123) > at java.lang.Shutdown.sequence(Shutdown.java:167) > at java.lang.Shutdown.exit(Shutdown.java:212) > - locked
[jira] [Closed] (IGNITE-1028) 4 tests from GridCacheP2PUndeploySelfTest fail
[ https://issues.apache.org/jira/browse/IGNITE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Vinogradov closed IGNITE-1028. > 4 tests from GridCacheP2PUndeploySelfTest fail > -- > > Key: IGNITE-1028 > URL: https://issues.apache.org/jira/browse/IGNITE-1028 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak >Assignee: Anton Vinogradov > Fix For: ignite-1.4 > > > Next tests of GridCacheP2PUndeploySelfTest fail > testSwapP2PReplicatedNoPreloading > testSwapP2PPartitionedNoPreloading > testSwapP2PReplicated > testSwapP2PPartitioned > Looks like the issue in cache (swapSize). > {noformat} > [12:11:10,352][INFO ][main][root] >>> Starting test: > testSwapP2PReplicatedNoPreloading <<< > [12:11:10,362][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > >>>__ > >>> / _/ ___/ |/ / _/_ __/ __/ > >>> _/ // (7 7// / / / / _/ > >>> /___/\___/_/|_/___/ /_/ /___/ > >>> > >>> ver. 1.1.3-SNAPSHOT#19700101-sha1:DEV > >>> 2015 Copyright(C) Apache Software Foundation > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Config URL: > n/a > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Daemon > mode: off > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS: Linux > 3.13.0-44-generic amd64 > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS user: > ashutak > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Language > runtime: Java Platform API Specification ver. 1.7 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > information: Java(TM) SE Runtime Environment 1.7.0_75-b13 Oracle Corporation > Java HotSpot(TM) 64-Bit Server VM 24.75-b04 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM total > memory: 3.5GB > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Remote > Management [restart: off, REST: off, JMX (remote: off)] > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > IGNITE_HOME=/home/ashutak/dev/incubator-ignite > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > arguments: [-ea, -Didea.launcher.port=7535, > -Didea.launcher.bin.path=/home/ashutak/Programms/idea-IC-139.659.2/bin, > -Dfile.encoding=UTF-8] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Configured > caches ['ignite-marshaller-sys-cache', 'ignite-sys-cache', > 'ignite-atomics-sys-cache', 'replicated', 'partitioned'] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] 3-rd party > licenses can be found at: /home/ashutak/dev/incubator-ignite/libs/licenses > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Local node > user attribute [nodeIndex=0] > [12:11:10,365][WARN ][test-runner][GridCacheP2PUndeploySelfTest1] Peer class > loading is enabled (disable it in production for performance and deployment > consistency reasons) > [12:11:10,365][WARN > ][ignite-#149%pub-cache.GridCacheP2PUndeploySelfTest1%][GridDiagnostic] > Initial heap size is 248MB (should be no less than 512MB, use -Xms512m > -Xmx512m). > [12:11:10,369][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > Non-loopback local IPs: 192.168.3.2, fe80:0:0:0:de85:deff:fe5e:923%3 > [12:11:10,370][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Enabled > local MACs: DC85DE5E0923 > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] Configured plugins: > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] ^-- None > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] IPC shared memory > server endpoint started [port=48104, > tokDir=/tmp/ignite/work/ipc/shmem/101c90c6-041c-4189-8447-8bd55866f001-9485] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] Successfully bound > shared memory communication to TCP port [port=48104, locHost=/127.0.0.1] > [12:11:10,374][INFO ][test-runner][TcpCommunicationSpi] Successfully bound to > TCP port [port=45014, locHost=/127.0.0.1] > [12:11:10,385][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Security > status [authentication=off] > [12:11:10,383][WARN ][test-runner][GridCollisionManager] Collision resolution > is disabled (all jobs will be activated upon arrival). > [12:11:10,404][INFO ][test-runner][TcpDiscoverySpi] Successfully bound to TCP > port [port=47506, localHost=/127.0.0.1] > [12:11:10,414][INFO ][test-runner][GridCacheProcessor] Started cache > [name=ignite-marshaller-sys-cache, mode=REPLICATED] > [12:11:10,417][WARN ][test-runner][GridCacheProcessor] Near cache cannot be > used with REPLICATED cache, will be ignored [cacheName=replicated] > [12:11:10,417][INFO ][test-runner][GridCacheProcessor] Started cache >
[jira] [Commented] (IGNITE-801) [Test] GridCacheReplicatedDataStructuresFailoverSelfTest hangs on TC
[ https://issues.apache.org/jira/browse/IGNITE-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740857#comment-14740857 ] Denis Magda commented on IGNITE-801: Reworking the test suite. - fixed some obvious bugs; - caught the situation when {{ClusterTopologyException}} is thrown to the user code. It must be processed at data structures impl level; - sometimes (on frequent topology changes) a data structure loses previously set value. Will investigate further when the tests are reworked. > [Test] GridCacheReplicatedDataStructuresFailoverSelfTest hangs on TC > > > Key: IGNITE-801 > URL: https://issues.apache.org/jira/browse/IGNITE-801 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak >Assignee: Denis Magda > Labels: failedtest > Attachments: ignite-801.patch > > > See GG-5306 > http://94.72.60.102/viewLog.html?buildId=113217=bt6=buildResultsDiv > {noformat} > 2013-05-31 10:39:07 > Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode): > "Attach Listener" daemon prio=10 tid=0x03a94800 nid=0x648 waiting on > condition [0x] >java.lang.Thread.State: RUNNABLE > "tcp-disco-sock-reader-#2408%a940475f-1965-484a-8a43-0a1fcc3bf292" prio=10 > tid=0x7f06f8b1a000 nid=0x42d runnable [0x7f0702d84000] >java.lang.Thread.State: RUNNABLE > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:150) > at java.net.SocketInputStream.read(SocketInputStream.java:121) > at > org.gridgain.grid.marshaller.jdk.GridJdkMarshallerInputStreamWrapper.read(GridJdkMarshallerInputStreamWrapper.java:47) > at > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2308) > at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2321) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2792) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:799) > at java.io.ObjectInputStream.init(ObjectInputStream.java:299) > at > org.gridgain.grid.marshaller.jdk.GridJdkMarshallerObjectInputStream.init(GridJdkMarshallerObjectInputStream.java:30) > at > org.gridgain.grid.marshaller.jdk.GridJdkMarshaller.unmarshal(GridJdkMarshaller.java:115) > at > org.gridgain.grid.spi.discovery.tcp.GridTcpDiscoverySpi$SocketReader.body(GridTcpDiscoverySpi.java:3985) > at org.gridgain.grid.spi.GridSpiThread.run(GridSpiThread.java:56) > "Thread-1905" prio=10 tid=0x7f06f8268000 nid=0x428 waiting on condition > [0x7f06e1f29000] >java.lang.Thread.State: TIMED_WAITING (sleeping) > at java.lang.Thread.sleep(Native Method) > at > org.gridgain.grid.kernal.GridKernalGatewayImpl.writeLock(GridKernalGatewayImpl.java:89) > at org.gridgain.grid.kernal.GridKernal.stop0(GridKernal.java:1629) > - locked 0x00078a53c600 (a > org.gridgain.grid.util.GridBreaker) > at org.gridgain.grid.kernal.GridKernal.stop(GridKernal.java:1605) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop0(GridFactory.java:2295) > - locked 0x00078a473b60 (a > org.gridgain.grid.GridFactory$GridNamedInstance) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop(GridFactory.java:2256) > at > org.gridgain.grid.GridFactory$GridNamedInstance$2.run(GridFactory.java:2223) > "Thread-1911" prio=10 tid=0x026b1000 nid=0x420 waiting on condition > [0x7f06e6af4000] >java.lang.Thread.State: TIMED_WAITING (sleeping) > at java.lang.Thread.sleep(Native Method) > at > org.gridgain.grid.kernal.GridKernalGatewayImpl.writeLock(GridKernalGatewayImpl.java:89) > at org.gridgain.grid.kernal.GridKernal.stop0(GridKernal.java:1629) > - locked 0x000789b76068 (a > org.gridgain.grid.util.GridBreaker) > at org.gridgain.grid.kernal.GridKernal.stop(GridKernal.java:1605) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop0(GridFactory.java:2295) > - locked 0x00078a4738f8 (a > org.gridgain.grid.GridFactory$GridNamedInstance) > at > org.gridgain.grid.GridFactory$GridNamedInstance.stop(GridFactory.java:2256) > at > org.gridgain.grid.GridFactory$GridNamedInstance$2.run(GridFactory.java:2223) > "SIGTERM handler" daemon prio=10 tid=0x01ec2800 nid=0x41e in > Object.wait() [0x7f06e8316000] >java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native Method) > at java.lang.Thread.join(Thread.java:1258) > - locked 0x00078a473948 (a > org.gridgain.grid.GridFactory$GridNamedInstance$2) > at java.lang.Thread.join(Thread.java:1332) > at >
[jira] [Updated] (IGNITE-1405) NPE during node start in corner case
[ https://issues.apache.org/jira/browse/IGNITE-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitriy Setrakyan updated IGNITE-1405: -- Summary: NPE during node start in corner case (was: NPE during node start in coner case) > NPE during node start in corner case > > > Key: IGNITE-1405 > URL: https://issues.apache.org/jira/browse/IGNITE-1405 > Project: Ignite > Issue Type: Bug > Components: general >Affects Versions: ignite-1.4 >Reporter: Pavel Konstantinov >Assignee: Denis Magda > Fix For: ignite-1.5 > > > I'm tried to establish external connect to node during it starting > {code} > [14:07:29,284][SEVERE][ignite-#45%rest-tester%][GridTcpRestProtocol] Failed > to process client request: GridClientTopologyRequest [includeMetrics=true, > includeAttrs=true] > class org.apache.ignite.IgniteCheckedException: null > at > org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:6978) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:150) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at > org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.allNodes(GridDiscoveryManager.java:1421) > at > org.apache.ignite.internal.processors.rest.handlers.top.GridTopologyCommandHandler.handleAsync(GridTopologyCommandHandler.java:100) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:226) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:79) > at > org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:133) > ... 4 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1420) .Net: Optimize metadata write.
Vladimir Ozerov created IGNITE-1420: --- Summary: .Net: Optimize metadata write. Key: IGNITE-1420 URL: https://issues.apache.org/jira/browse/IGNITE-1420 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Currently we perform int dictionary lookup on each field write to track metadata updates. This could be less than optimal because metadata updates are very rare. Several optimizations can be applied here: 1) For types where we use reflection we can collect all metadata information only once and write it when the first object of a type gets marshalled. Nothing more is needed. 2) For "marshal aware" types we never know whether new metadata is expected or not. We can introduce tree-like structure. When serialization start we are on the top of it. Then we go down as the fields are written. If we cannot find the node for the given field ID - we are on the new path. Then we create a copy of a tree and continue our path collecting updates. Finally, we flush them to Java and update global tree with latest changes. This can be highly optimized for the most common cases when there is one, at most two paths for the given sequence: - When there is only one known path, data can be stored as array. We simply go through it and compare current field ID with expected. So this is just int[]. - When there are more paths in some places, we can have int[] + dispatch map. For 2-4 paths its is just a binary switch. For more paths we can fallback to normal dictionary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1421) .Net: Optimize writes of ultra-dense structures.
Vladimir Ozerov created IGNITE-1421: --- Summary: .Net: Optimize writes of ultra-dense structures. Key: IGNITE-1421 URL: https://issues.apache.org/jira/browse/IGNITE-1421 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 There is a case when we can dramatically increase marshal/unmarshal performance: 1) Type is a structure; 2) It contains only integer/float/double primitive types with well-defined; memory layout which is consistent with our serialization protocol; 3) We are sure that there are no gaps in it's memory layout. 4) User writes it as "marshal-aware" and fields write order is consistent with memory layout. In this case we can copy the whole structure into our stream with a single memcpy() operation. And we can read it from the stream as easy as [pointer dereference + position shift] (provided that target is on the stack). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (IGNITE-1028) 4 tests from GridCacheP2PUndeploySelfTest fail
[ https://issues.apache.org/jira/browse/IGNITE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Vinogradov resolved IGNITE-1028. -- Resolution: Fixed > 4 tests from GridCacheP2PUndeploySelfTest fail > -- > > Key: IGNITE-1028 > URL: https://issues.apache.org/jira/browse/IGNITE-1028 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak >Assignee: Anton Vinogradov > Fix For: ignite-1.4 > > > Next tests of GridCacheP2PUndeploySelfTest fail > testSwapP2PReplicatedNoPreloading > testSwapP2PPartitionedNoPreloading > testSwapP2PReplicated > testSwapP2PPartitioned > Looks like the issue in cache (swapSize). > {noformat} > [12:11:10,352][INFO ][main][root] >>> Starting test: > testSwapP2PReplicatedNoPreloading <<< > [12:11:10,362][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > >>>__ > >>> / _/ ___/ |/ / _/_ __/ __/ > >>> _/ // (7 7// / / / / _/ > >>> /___/\___/_/|_/___/ /_/ /___/ > >>> > >>> ver. 1.1.3-SNAPSHOT#19700101-sha1:DEV > >>> 2015 Copyright(C) Apache Software Foundation > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Config URL: > n/a > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Daemon > mode: off > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS: Linux > 3.13.0-44-generic amd64 > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS user: > ashutak > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Language > runtime: Java Platform API Specification ver. 1.7 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > information: Java(TM) SE Runtime Environment 1.7.0_75-b13 Oracle Corporation > Java HotSpot(TM) 64-Bit Server VM 24.75-b04 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM total > memory: 3.5GB > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Remote > Management [restart: off, REST: off, JMX (remote: off)] > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > IGNITE_HOME=/home/ashutak/dev/incubator-ignite > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > arguments: [-ea, -Didea.launcher.port=7535, > -Didea.launcher.bin.path=/home/ashutak/Programms/idea-IC-139.659.2/bin, > -Dfile.encoding=UTF-8] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Configured > caches ['ignite-marshaller-sys-cache', 'ignite-sys-cache', > 'ignite-atomics-sys-cache', 'replicated', 'partitioned'] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] 3-rd party > licenses can be found at: /home/ashutak/dev/incubator-ignite/libs/licenses > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Local node > user attribute [nodeIndex=0] > [12:11:10,365][WARN ][test-runner][GridCacheP2PUndeploySelfTest1] Peer class > loading is enabled (disable it in production for performance and deployment > consistency reasons) > [12:11:10,365][WARN > ][ignite-#149%pub-cache.GridCacheP2PUndeploySelfTest1%][GridDiagnostic] > Initial heap size is 248MB (should be no less than 512MB, use -Xms512m > -Xmx512m). > [12:11:10,369][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > Non-loopback local IPs: 192.168.3.2, fe80:0:0:0:de85:deff:fe5e:923%3 > [12:11:10,370][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Enabled > local MACs: DC85DE5E0923 > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] Configured plugins: > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] ^-- None > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] IPC shared memory > server endpoint started [port=48104, > tokDir=/tmp/ignite/work/ipc/shmem/101c90c6-041c-4189-8447-8bd55866f001-9485] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] Successfully bound > shared memory communication to TCP port [port=48104, locHost=/127.0.0.1] > [12:11:10,374][INFO ][test-runner][TcpCommunicationSpi] Successfully bound to > TCP port [port=45014, locHost=/127.0.0.1] > [12:11:10,385][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Security > status [authentication=off] > [12:11:10,383][WARN ][test-runner][GridCollisionManager] Collision resolution > is disabled (all jobs will be activated upon arrival). > [12:11:10,404][INFO ][test-runner][TcpDiscoverySpi] Successfully bound to TCP > port [port=47506, localHost=/127.0.0.1] > [12:11:10,414][INFO ][test-runner][GridCacheProcessor] Started cache > [name=ignite-marshaller-sys-cache, mode=REPLICATED] > [12:11:10,417][WARN ][test-runner][GridCacheProcessor] Near cache cannot be > used with REPLICATED cache, will be ignored [cacheName=replicated] > [12:11:10,417][INFO ][test-runner][GridCacheProcessor] Started
[jira] [Commented] (IGNITE-803) [Test] DataStructures failover tests fail with partitioned cache
[ https://issues.apache.org/jira/browse/IGNITE-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740858#comment-14740858 ] Denis Magda commented on IGNITE-803: IGNITE-801 has to be fixed first and only after this take down to this issue. > [Test] DataStructures failover tests fail with partitioned cache > > > Key: IGNITE-803 > URL: https://issues.apache.org/jira/browse/IGNITE-803 > Project: Ignite > Issue Type: Bug > Environment: See GG-2699 >Reporter: Artem Shutak >Assignee: Denis Magda > Labels: failedtest > > See GG-2699 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-257) Revisit heuristic transaction failure handling
[ https://issues.apache.org/jira/browse/IGNITE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740873#comment-14740873 ] Denis Magda commented on IGNITE-257: Fully muted {{GridCacheColocatedTxExceptionSelfTest}} because some tests caused a hang on TC. > Revisit heuristic transaction failure handling > -- > > Key: IGNITE-257 > URL: https://issues.apache.org/jira/browse/IGNITE-257 > Project: Ignite > Issue Type: Sub-task > Components: cache >Affects Versions: sprint-1 >Reporter: Alexey Goncharuk >Assignee: Alexey Goncharuk > > Current tests assume that all transaction entries are invalidated, even > though it is not always possible. Need to revisit heuristic exception > handling logic. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-1028) 4 tests from GridCacheP2PUndeploySelfTest fail
[ https://issues.apache.org/jira/browse/IGNITE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14740579#comment-14740579 ] Anton Vinogradov commented on IGNITE-1028: -- Overrided method onRemove at GridSpiCloseableIteratorWrapper. > 4 tests from GridCacheP2PUndeploySelfTest fail > -- > > Key: IGNITE-1028 > URL: https://issues.apache.org/jira/browse/IGNITE-1028 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak > Fix For: ignite-1.5 > > > Next tests of GridCacheP2PUndeploySelfTest fail > testSwapP2PReplicatedNoPreloading > testSwapP2PPartitionedNoPreloading > testSwapP2PReplicated > testSwapP2PPartitioned > Looks like the issue in cache (swapSize). > {noformat} > [12:11:10,352][INFO ][main][root] >>> Starting test: > testSwapP2PReplicatedNoPreloading <<< > [12:11:10,362][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > >>>__ > >>> / _/ ___/ |/ / _/_ __/ __/ > >>> _/ // (7 7// / / / / _/ > >>> /___/\___/_/|_/___/ /_/ /___/ > >>> > >>> ver. 1.1.3-SNAPSHOT#19700101-sha1:DEV > >>> 2015 Copyright(C) Apache Software Foundation > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Config URL: > n/a > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Daemon > mode: off > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS: Linux > 3.13.0-44-generic amd64 > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] OS user: > ashutak > [12:11:10,363][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Language > runtime: Java Platform API Specification ver. 1.7 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > information: Java(TM) SE Runtime Environment 1.7.0_75-b13 Oracle Corporation > Java HotSpot(TM) 64-Bit Server VM 24.75-b04 > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM total > memory: 3.5GB > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Remote > Management [restart: off, REST: off, JMX (remote: off)] > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > IGNITE_HOME=/home/ashutak/dev/incubator-ignite > [12:11:10,364][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] VM > arguments: [-ea, -Didea.launcher.port=7535, > -Didea.launcher.bin.path=/home/ashutak/Programms/idea-IC-139.659.2/bin, > -Dfile.encoding=UTF-8] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Configured > caches ['ignite-marshaller-sys-cache', 'ignite-sys-cache', > 'ignite-atomics-sys-cache', 'replicated', 'partitioned'] > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] 3-rd party > licenses can be found at: /home/ashutak/dev/incubator-ignite/libs/licenses > [12:11:10,365][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Local node > user attribute [nodeIndex=0] > [12:11:10,365][WARN ][test-runner][GridCacheP2PUndeploySelfTest1] Peer class > loading is enabled (disable it in production for performance and deployment > consistency reasons) > [12:11:10,365][WARN > ][ignite-#149%pub-cache.GridCacheP2PUndeploySelfTest1%][GridDiagnostic] > Initial heap size is 248MB (should be no less than 512MB, use -Xms512m > -Xmx512m). > [12:11:10,369][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] > Non-loopback local IPs: 192.168.3.2, fe80:0:0:0:de85:deff:fe5e:923%3 > [12:11:10,370][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Enabled > local MACs: DC85DE5E0923 > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] Configured plugins: > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] ^-- None > [12:11:10,370][INFO ][test-runner][IgnitePluginProcessor] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] IPC shared memory > server endpoint started [port=48104, > tokDir=/tmp/ignite/work/ipc/shmem/101c90c6-041c-4189-8447-8bd55866f001-9485] > [12:11:10,373][INFO ][test-runner][TcpCommunicationSpi] Successfully bound > shared memory communication to TCP port [port=48104, locHost=/127.0.0.1] > [12:11:10,374][INFO ][test-runner][TcpCommunicationSpi] Successfully bound to > TCP port [port=45014, locHost=/127.0.0.1] > [12:11:10,385][INFO ][test-runner][GridCacheP2PUndeploySelfTest1] Security > status [authentication=off] > [12:11:10,383][WARN ][test-runner][GridCollisionManager] Collision resolution > is disabled (all jobs will be activated upon arrival). > [12:11:10,404][INFO ][test-runner][TcpDiscoverySpi] Successfully bound to TCP > port [port=47506, localHost=/127.0.0.1] > [12:11:10,414][INFO ][test-runner][GridCacheProcessor] Started cache > [name=ignite-marshaller-sys-cache, mode=REPLICATED] > [12:11:10,417][WARN ][test-runner][GridCacheProcessor] Near cache cannot be > used with REPLICATED cache, will be ignored [cacheName=replicated] > [12:11:10,417][INFO
[jira] [Created] (IGNITE-1411) .Net: Understand why CacheAbstractTest.TestCacheEntryGetSet*() tests are commented out.
Vladimir Ozerov created IGNITE-1411: --- Summary: .Net: Understand why CacheAbstractTest.TestCacheEntryGetSet*() tests are commented out. Key: IGNITE-1411 URL: https://issues.apache.org/jira/browse/IGNITE-1411 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (IGNITE-257) Revisit heuristic transaction failure handling
[ https://issues.apache.org/jira/browse/IGNITE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Semen Boikov updated IGNITE-257: Assignee: Alexey Goncharuk (was: Denis Magda) > Revisit heuristic transaction failure handling > -- > > Key: IGNITE-257 > URL: https://issues.apache.org/jira/browse/IGNITE-257 > Project: Ignite > Issue Type: Sub-task > Components: cache >Affects Versions: sprint-1 >Reporter: Alexey Goncharuk >Assignee: Alexey Goncharuk > > Current tests assume that all transaction entries are invalidated, even > though it is not always possible. Need to revisit heuristic exception > handling logic. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1410) .Net: Implement IEvents.RecordLocal.
Vladimir Ozerov created IGNITE-1410: --- Summary: .Net: Implement IEvents.RecordLocal. Key: IGNITE-1410 URL: https://issues.apache.org/jira/browse/IGNITE-1410 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (IGNITE-1112) Atomic cache #get method returns old value if near cache enabled after second putAll.
[ https://issues.apache.org/jira/browse/IGNITE-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14739434#comment-14739434 ] Andrey Gura edited comment on IGNITE-1112 at 9/11/15 11:00 AM: --- The issue is reproduced when near cache enabled and cache store with write through configured. The first part of the problem is related with {{TestCacheStore}} implementation that uses static {{ConcurrentMap}}. But {{load}} method never invokes during {{testPutAllPutAll}} test execution. It is very strange. But there is one more weird issue. Test executes successfully if just create one more cache. Actually, just adding pause before test case code fix it. So, I think, there is a problem with multi JVM framework. was (Author: agura): The issue is reproduced when near cache enabled and cache store with write through configured. The first part of the problem is related with {{TestCacheStore}} implementation that uses static {{ConcurrentMap}}. But {{load}} method never invokes during {{testPutAllPutAll}} test execution. It is very strange. But there is one more weird issue. Test executes successfully if just create one more cache. > Atomic cache #get method returns old value if near cache enabled after second > putAll. > - > > Key: IGNITE-1112 > URL: https://issues.apache.org/jira/browse/IGNITE-1112 > Project: Ignite > Issue Type: Bug >Reporter: Artem Shutak >Assignee: Andrey Gura > > These tests failed: > GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest.testPutAllPutAll > GridCacheAtomicNearEnabledFairAffinityMultiJvmFullApiSelfTest.testPutAllPutAll > > These tests work fine in one jvm, but fails in multi-JVM case. > Looks like, second putAll does not update data at near cache and get method > returns old value. But iteration from cache return actual data. > See ignite-648-putAll branch with more debug information. > Original log for > GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest.testPutAllPutAll. > {noformat} > junit.framework.AssertionFailedError: expected:<64> but was:<8> > at junit.framework.Assert.fail(Assert.java:57) > at junit.framework.Assert.failNotEquals(Assert.java:329) > at junit.framework.Assert.assertEquals(Assert.java:78) > at junit.framework.Assert.assertEquals(Assert.java:86) > at junit.framework.TestCase.assertEquals(TestCase.java:253) > at > org.apache.ignite.internal.processors.cache.distributed.near.GridCachePartitionedMultiNodeFullApiSelfTest.testPutAllPutAll(GridCachePartitionedMultiNodeFullApiSelfTest.java:126) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1618) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:70) > at > org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:1561) > --- Stdout: --- > [17:59:33,524][INFO ][main][root] >>> Starting test: testPutAllPutAll <<< > [17:59:33,527][INFO ][test-runner][root] > Grid0: > 00ac324c-cfd0-4433-b00b-1048858b6000 > [17:59:33,528][INFO ][test-runner][root] > Grid1: > 0a0c6919-127f-4d44-988d-8a236d033379 > [17:59:33,530][INFO ][test-runner][root] > Grid2: > 17e5a787-5b00-4c68-88ea-cf0e393fefd1 > [17:59:33,531][INFO ][test-runner][root] > Grid3: > d63de793-e754-4849-826e-2f43669385ba > [17:59:33,544][INFO ][Thread-110][jvm-0a0c6919] > [17:59:33,544][INFO][ignite-#12%pub-multijvm.GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest1%][GridDeploymentLocalStore] > Class locally deployed: class > org.apache.ignite.testframework.junits.multijvm.IgniteCacheProcessProxy$10 > [17:59:33,736][INFO ][test-runner][root] >>> Before second put. > [17:59:33,736][INFO ][test-runner][GridDeploymentLocalStore] Class locally > deployed: class > org.apache.ignite.testframework.junits.multijvm.IgniteCacheProcessProxy$17 > [17:59:33,741][INFO ][Thread-110][jvm-0a0c6919] > [17:59:33,741][INFO][ignite-#16%pub-multijvm.GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest1%][GridDeploymentLocalStore] > Class locally deployed: class > org.apache.ignite.testframework.junits.multijvm.IgniteCacheProcessProxy$17 > [17:59:33,757][INFO ][test-runner][root] >>> After second put. > [17:59:33,766][INFO ][main][root] >>> Stopping test: testPutAllPutAll in 240 > ms <<< > [17:59:33,766][INFO ][main][root] Checking grid: 0 >
[jira] [Closed] (IGNITE-1250) Migrate JDBC driver from Java client to Ignite node in client mode
[ https://issues.apache.org/jira/browse/IGNITE-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Valentin Kulichenko closed IGNITE-1250. --- > Migrate JDBC driver from Java client to Ignite node in client mode > -- > > Key: IGNITE-1250 > URL: https://issues.apache.org/jira/browse/IGNITE-1250 > Project: Ignite > Issue Type: Improvement >Reporter: Andrey Gura >Assignee: Valentin Kulichenko >Priority: Blocker > Fix For: ignite-1.4 > > > JDBC driver is still based on legacy Java client which is deprecated, not > supported and much slower than native query API. > Needs to replace thin client with an embedded client node. > See also: > http://apache-ignite-developers.2346864.n4.nabble.com/JDBC-driver-td2177.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-1450) Excessive exceptions are printed out during cache/node stop
[ https://issues.apache.org/jira/browse/IGNITE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14741780#comment-14741780 ] Alexey Goncharuk commented on IGNITE-1450: -- I think we should complete futures with a special kind of exception on a node/cache stop and do not print out this exception to log. > Excessive exceptions are printed out during cache/node stop > --- > > Key: IGNITE-1450 > URL: https://issues.apache.org/jira/browse/IGNITE-1450 > Project: Ignite > Issue Type: Bug >Affects Versions: 1.1.4 >Reporter: Alexey Goncharuk >Assignee: Yakov Zhdanov > Fix For: ignite-1.4 > > > In my unit tests, I start and stop caches in quick succession and my logs are > full of the following exceptions: > 6983 [exchange-worker-#114%t1-1%] ERROR GridCachePartitionExchangeManager - > Runtime error caught during grid runnable execution: GridWorker > [name=partition-exchanger, gridName=t1-1, finished=false, isCancelled=false, > hashCode=1934136092, interrupted=false, runner=exchange-worker-#114%t1-1%] > class org.apache.ignite.IgniteException: Failed to wait for affinity ready > future for topology version: AffinityTopologyVersion [topVer=2, minorTopVer=2] > at > org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.awaitTopologyVersion(GridAffinityAssignmentCache.java:443) > at > org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.cachedAffinity(GridAffinityAssignmentCache.java:398) > at > org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.nodes(GridAffinityAssignmentCache.java:363) > at > org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.nodes(GridCacheAffinityManager.java:201) > at > org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.localNode(GridCacheAffinityManager.java:303) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemandPool.assign(GridDhtPartitionDemandPool.java:1028) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPreloader.assign(GridDhtPreloader.java:260) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1076) > at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108) > at java.lang.Thread.run(Thread.java:745) > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to wait for > topology update, cache (or node) is stopping. > at > org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.readyFuture(GridAffinityAssignmentCache.java:316) > at > org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.awaitTopologyVersion(GridAffinityAssignmentCache.java:437) > ... 9 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (IGNITE-1411) .Net: Understand why CacheAbstractTest.TestCacheEntryGetSet*() tests are commented out.
[ https://issues.apache.org/jira/browse/IGNITE-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov resolved IGNITE-1411. - Resolution: Fixed Assignee: Vladimir Ozerov Fix Version/s: (was: ignite-1.5) ignite-1.4 These were tests for obsolete API. Removed. > .Net: Understand why CacheAbstractTest.TestCacheEntryGetSet*() tests are > commented out. > --- > > Key: IGNITE-1411 > URL: https://issues.apache.org/jira/browse/IGNITE-1411 > Project: Ignite > Issue Type: Task > Components: interop >Affects Versions: 1.1.4 >Reporter: Vladimir Ozerov >Assignee: Vladimir Ozerov > Fix For: ignite-1.4 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1412) .Net: Pass local entry processor pointer to Java.
Vladimir Ozerov created IGNITE-1412: --- Summary: .Net: Pass local entry processor pointer to Java. Key: IGNITE-1412 URL: https://issues.apache.org/jira/browse/IGNITE-1412 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Currently we always serialize .Net entry processor and pass only serialized bytes to Java. If processor is to be executed locally, then we pass the same bytes back and deserialize them again. Instead, we can do the following: 1) Serialize entry processor. 2) Allocate handle for it. 3) Pass bytes and handle to Java. 4) In case of local execution, just return back the handle. 5) Once execution is finished, handle can be safely released in "finally" block. This can be easily implemented only for synchronous entry processing. For async mode there is no try/finally. We could release the handle during feature completion, but the problem is that there is no guarantee tha user will ever request this feature. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1413) .Net: Get rid of set -> map conversion in PlatformDotNetCacheStore.writeAll
Vladimir Ozerov created IGNITE-1413: --- Summary: .Net: Get rid of set -> map conversion in PlatformDotNetCacheStore.writeAll Key: IGNITE-1413 URL: https://issues.apache.org/jira/browse/IGNITE-1413 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 This is a legacy artifact from a veeery old API which is currently removed. Just pass set without unnecessary conversions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1414) .Net: support async/await in the API via extension methods
Vladimir Ozerov created IGNITE-1414: --- Summary: .Net: support async/await in the API via extension methods Key: IGNITE-1414 URL: https://issues.apache.org/jira/browse/IGNITE-1414 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Currently to get awaitable target (Task) for async operation, user have to do the following (pseudocode): {code} target.ExecuteOperation(); IFuture fut = target.CurrentFuture(); Task task = fut.ToTask(); {code} This is too complex. We need to think how to minimize this boilerplate code. Extensions + lambdas appears to be good candidates for this. E.g.: {code} Task task = target.DoAsync(t => t.Execute()); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1416) .Net: Implement "atomic" data structures.
Vladimir Ozerov created IGNITE-1416: --- Summary: .Net: Implement "atomic" data structures. Key: IGNITE-1416 URL: https://issues.apache.org/jira/browse/IGNITE-1416 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 This includes: - atomicLong; - atomicSequence; - atomicStamped; - atomicReference. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1417) .Net: Implement desitributed queue.
Vladimir Ozerov created IGNITE-1417: --- Summary: .Net: Implement desitributed queue. Key: IGNITE-1417 URL: https://issues.apache.org/jira/browse/IGNITE-1417 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1415) .Net: Optimize handle registry.
Vladimir Ozerov created IGNITE-1415: --- Summary: .Net: Optimize handle registry. Key: IGNITE-1415 URL: https://issues.apache.org/jira/browse/IGNITE-1415 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 The main problem with handle registry is CAS on a single shared variable. This could result in a very bad performance under contention. Several techniques can be applied here: 1) Stripes. Assign some ID to a thread and then use it to pick correct stripe for the thread. Be careful with false-sharing effects as stripes can be located very close to each other. 2) Cleanup with relaxed membars. When we are to remove the handle, no need for full HB semantics. We are ok if subsequent calls to the same handle will see not-killed object for a while. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1432) .Net: Fix InteropCacheEntryProcessor performance on remote nodes
Vladimir Ozerov created IGNITE-1432: --- Summary: .Net: Fix InteropCacheEntryProcessor performance on remote nodes Key: IGNITE-1432 URL: https://issues.apache.org/jira/browse/IGNITE-1432 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 Considerations: 1) Invoke with single key is expected to be called only once, so no changes is needed here - deploy and execute in a single JNI call. 2) If there are several keys, there is a high chance (but still not 100% due to partitioning) that processor will be called multiple times. Proposed solution: 1) Check amout of keys. 2) If cnt == 1, no changes to current logic. 3) If cnt > 1, first deploy (JNI call), then execute (JNI call). Processor entry must be put into weak-map located somewhere inside the interop processor. Interop processor must constantly listen for corresponding reference queue and release .Net entries as soon as processor is weakly reacheable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1435) Platform .Net: Make it possible to sign core assembly with msbuild
Pavel Tupitsyn created IGNITE-1435: --- Summary: Platform .Net: Make it possible to sign core assembly with msbuild Key: IGNITE-1435 URL: https://issues.apache.org/jira/browse/IGNITE-1435 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Pavel Tupitsyn Assignee: Pavel Tupitsyn Fix For: ignite-1.4 Currently we use InternalsVisibleTo attribute in Apache.Ignite.Core AssemblyInfo, which prevents signing the assembly with msbuild /p:SignAssembly file. Need to wrap them in a preprocessor check so that msbuild flag /p:DefineConstants will exclude that code. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1441) CPP: Support filter in SCAN queries.
Vladimir Ozerov created IGNITE-1441: --- Summary: CPP: Support filter in SCAN queries. Key: IGNITE-1441 URL: https://issues.apache.org/jira/browse/IGNITE-1441 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1447) CPP: Implement cache locks.
Vladimir Ozerov created IGNITE-1447: --- Summary: CPP: Implement cache locks. Key: IGNITE-1447 URL: https://issues.apache.org/jira/browse/IGNITE-1447 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1446) CPP: Implement cache "keep-portable" semantics.
Vladimir Ozerov created IGNITE-1446: --- Summary: CPP: Implement cache "keep-portable" semantics. Key: IGNITE-1446 URL: https://issues.apache.org/jira/browse/IGNITE-1446 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1427) .Net: Services - add support for non-deserializable AffinityKey.
Vladimir Ozerov created IGNITE-1427: --- Summary: .Net: Services - add support for non-deserializable AffinityKey. Key: IGNITE-1427 URL: https://issues.apache.org/jira/browse/IGNITE-1427 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Currently if affinity key cannot be marshalled for some reason, it will break not only affected service descriptor, but all services API. We should catch marshalling exceptions and pass it to .Net in a wrapped form. These exception must be thrown only if user is trying to access problematic key explicitly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1433) .Net: Add GridException.JavaStackTrace
Vladimir Ozerov created IGNITE-1433: --- Summary: .Net: Add GridException.JavaStackTrace Key: IGNITE-1433 URL: https://issues.apache.org/jira/browse/IGNITE-1433 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Propagate java stack trace as a string in ExceptionUtils.GetException and write it to a new field in IgniteException class. This will simplify debugging for us both locally and when getting error reports from clients. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1442) CPP: Implement cache async mode.
Vladimir Ozerov created IGNITE-1442: --- Summary: CPP: Implement cache async mode. Key: IGNITE-1442 URL: https://issues.apache.org/jira/browse/IGNITE-1442 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1444) CPP: Implement cache expiry policy.
Vladimir Ozerov created IGNITE-1444: --- Summary: CPP: Implement cache expiry policy. Key: IGNITE-1444 URL: https://issues.apache.org/jira/browse/IGNITE-1444 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1443) CPP: Implement cache continuous queries.
Vladimir Ozerov created IGNITE-1443: --- Summary: CPP: Implement cache continuous queries. Key: IGNITE-1443 URL: https://issues.apache.org/jira/browse/IGNITE-1443 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1431) .Net: Ensure strings are written correctly in BIG/LITTLE endian modes.
Vladimir Ozerov created IGNITE-1431: --- Summary: .Net: Ensure strings are written correctly in BIG/LITTLE endian modes. Key: IGNITE-1431 URL: https://issues.apache.org/jira/browse/IGNITE-1431 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Minor Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1434) Platforms: Ensure that @IgniteInstanceResource is set only on setters, not fields.
Vladimir Ozerov created IGNITE-1434: --- Summary: Platforms: Ensure that @IgniteInstanceResource is set only on setters, not fields. Key: IGNITE-1434 URL: https://issues.apache.org/jira/browse/IGNITE-1434 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Fix For: ignite-1.5 Currently @IgniteInstanceResource is set on fields. And then we have to deal with complex initiailzation logic. Instead, we must set this annotation on setters which will perform initialization immediately. Furthermore, when possible we must avoid injection in favor of direct setter calls. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1437) CPP: Implement SQL fields query.
Vladimir Ozerov created IGNITE-1437: --- Summary: CPP: Implement SQL fields query. Key: IGNITE-1437 URL: https://issues.apache.org/jira/browse/IGNITE-1437 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1438) CPP: Implement transactions API.
Vladimir Ozerov created IGNITE-1438: --- Summary: CPP: Implement transactions API. Key: IGNITE-1438 URL: https://issues.apache.org/jira/browse/IGNITE-1438 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1436) C++: Port to MAC OS.
Vladimir Ozerov created IGNITE-1436: --- Summary: C++: Port to MAC OS. Key: IGNITE-1436 URL: https://issues.apache.org/jira/browse/IGNITE-1436 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Blocker Fix For: ignite-1.5 It will require minimal porting of "common" and "utils" stuff. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1439) CPP: Implement futures.
Vladimir Ozerov created IGNITE-1439: --- Summary: CPP: Implement futures. Key: IGNITE-1439 URL: https://issues.apache.org/jira/browse/IGNITE-1439 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1445) CPP: Implement cache invoke.
Vladimir Ozerov created IGNITE-1445: --- Summary: CPP: Implement cache invoke. Key: IGNITE-1445 URL: https://issues.apache.org/jira/browse/IGNITE-1445 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 This will require well-defined architecture for generic callback calls from Java core to CPP. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-1448) CPP: Implement cache iterators.
Vladimir Ozerov created IGNITE-1448: --- Summary: CPP: Implement cache iterators. Key: IGNITE-1448 URL: https://issues.apache.org/jira/browse/IGNITE-1448 Project: Ignite Issue Type: Task Components: interop Affects Versions: 1.1.4 Reporter: Vladimir Ozerov Priority: Critical Fix For: ignite-1.5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)