ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasilisa Sidorova (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1991) CacheClientBinaryPutGetExample fails with remote node, started from command line
Date Mon, 14 Dec 2015 13:19:46 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasilisa  Sidorova updated IGNITE-1991:
---------------------------------------
    Assignee:     (was: Vasilisa  Sidorova)

> CacheClientBinaryPutGetExample fails with remote node, started from command line
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-1991
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1991
>             Project: Ignite
>          Issue Type: Bug
>          Components: general, interop
>    Affects Versions: 1.5
>         Environment: Win7/Ubuntu14.04, Apache Ignite 1.5.0 build #82
>            Reporter: Vasilisa  Sidorova
>             Fix For: 1.5
>
>
> ---------------------------------------------
> DESCRIPTION
> ---------------------------------------------
> CacheClientBinaryPutGetExample is good running with ExampleBinaryNodeStartup started
from IDE but fails if remote node is started from command line
> ---------------------------------------------
> STEPS FOR REPRODUCE
> ---------------------------------------------
> # Build example project in IDE (Idea)
> # Run remote node from IGNITE_HOME by the command
> {noformat}
> ./bin/ignite.sh ./examples/config/binary/example-ignite-binary.xml
> {noformat}
> # Run CacheClientBinaryPutGetExample
> ---------------------------------------------
> ACTUAL RESULT
> ---------------------------------------------
> Examples fails with exception:
> {noformat}
> Exception in thread "main" org.apache.ignite.cache.CachePartialUpdateException: Failed
to update keys (retry update if possible).: [1]
> 	at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1620)
> 	at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.cacheException(IgniteCacheProxy.java:1758)
> 	at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.put(IgniteCacheProxy.java:1032)
> 	at org.apache.ignite.examples.binary.datagrid.CacheClientBinaryPutGetExample.putGet(CacheClientBinaryPutGetExample.java:110)
> 	at org.apache.ignite.examples.binary.datagrid.CacheClientBinaryPutGetExample.main(CacheClientBinaryPutGetExample.java:82)
> 	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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
> Caused by: class org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException:
Failed to update keys (retry update if possible).: [1]
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture$UpdateState.addFailedKeys(GridNearAtomicUpdateFuture.java:1188)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture$UpdateState.onResult(GridNearAtomicUpdateFuture.java:657)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.onResult(GridNearAtomicUpdateFuture.java:351)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateResponse(GridDhtAtomicCache.java:2587)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$700(GridDhtAtomicCache.java:127)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:263)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:261)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:576)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:275)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:199)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:78)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:161)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:823)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1600(GridIoManager.java:105)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:786)
> 	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)
> 	Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to update keys on
primary node.
> 		Suppressed: class org.apache.ignite.binary.BinaryInvalidTypeException: org.apache.ignite.examples.binary.Organization
> 			at org.apache.ignite.internal.portable.PortableContext.descriptorForTypeId(PortableContext.java:430)
> 			at org.apache.ignite.internal.portable.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1418)
> 			at org.apache.ignite.internal.portable.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:554)
> 			at org.apache.ignite.internal.portable.BinaryObjectImpl.value(BinaryObjectImpl.java:134)
> 			at org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapPortable(CacheObjectContext.java:241)
> 			at org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapPortableIfNeeded(CacheObjectContext.java:136)
> 			at org.apache.ignite.internal.processors.cache.GridCacheEventManager.addEvent(GridCacheEventManager.java:265)
> 			at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:2310)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:1875)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1291)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1166)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateRequest(GridDhtAtomicCache.java:2570)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$600(GridDhtAtomicCache.java:127)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:257)
> 			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:255)
> 			at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:576)
> 			at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:275)
> 			at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:199)
> 			at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:78)
> 			at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:161)
> 			at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:823)
> 			at org.apache.ignite.internal.managers.communication.GridIoManager.access$1600(GridIoManager.java:105)
> 			at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:786)
> 			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.ClassNotFoundException: org.apache.ignite.examples.binary.Organization
> 			at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 			at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 			at java.security.AccessController.doPrivileged(Native Method)
> 			at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 			at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 			at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 			at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 			at java.lang.Class.forName0(Native Method)
> 			at java.lang.Class.forName(Class.java:278)
> 			at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:8164)
> 			at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:185)
> 			at org.apache.ignite.internal.portable.PortableContext.descriptorForTypeId(PortableContext.java:421)
> 			... 25 more
> {noformat}
> ---------------------------------------------
> EXPECTED RESULT
> ---------------------------------------------
> Example passed without any exception



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

Mime
View raw message