ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Parkhonin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3618) Client can not load data after server restarts
Date Tue, 13 Dec 2016 13:37:59 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15745180#comment-15745180
] 

Dmitry Parkhonin commented on IGNITE-3618:
------------------------------------------

The same exception can be observed when trying to call a remote service after the whole cluster
restart.
I can reproduce the error on Apache Ignite 1.8 too.

2016-12-13 09:42:53,636 DEBUG - Task result received for a6896ff9-ab3f-4fde-8482-b9c876d54c82@c6a68b54-9630-4715-b8a6-c50d861bccb5
[ru.depsy.pricinggrid.client.AbstractSession] [sys-#51%pricingGridServer%] {}
2016-12-13 09:42:53,636 ERROR - The calibration has failed [ru.depsy.server.zerocice.MyServiceI]
[sys-#51%pricingGridServer%] {}
class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to execute job due
to unexpected runtime exception [jobId=97c4a87f851-39d922a0-b23e-49be-b70a-f31d130a6ee6, ses=GridJobSessionImpl
[ses=GridTaskSessionImpl [taskName=ru.depsy.pricinggrid.client.ignite.IgniteTask, dep=SharedDeployment
[rmv=false, super=GridDeployment [ts=1481622173293, depMode=SHARED, clsLdr=GridDeploymentClassLoader
[id=c390097f851-a52881e1-10b0-4332-a609-79deb560c69c, singleNode=false, nodeLdrMap={39d922a0-b23e-49be-b70a-f31d130a6ee6=46c4a87f851-39d922a0-b23e-49be-b70a-f31d130a6ee6},
p2pTimeout=5000, usrVer=0, depMode=SHARED, quiet=false], clsLdrId=c390097f851-a52881e1-10b0-4332-a609-79deb560c69c,
userVer=0, loc=false, sampleClsName=ru.depsy.pricinggrid.client.ignite.IgniteTask, pendingUndeploy=false,
undeployed=false, usage=1]], taskClsName=ru.depsy.pricinggrid.client.ignite.IgniteTask, sesId=67c4a87f851-39d922a0-b23e-49be-b70a-f31d130a6ee6,
startTime=1481622172731, endTime=9223372036854775807, taskNodeId=39d922a0-b23e-49be-b70a-f31d130a6ee6,
clsLdr=GridDeploymentClassLoader [id=c390097f851-a52881e1-10b0-4332-a609-79deb560c69c, singleNode=false,
nodeLdrMap={39d922a0-b23e-49be-b70a-f31d130a6ee6=46c4a87f851-39d922a0-b23e-49be-b70a-f31d130a6ee6},
p2pTimeout=5000, usrVer=0, depMode=SHARED, quiet=false], closed=false, cpSpi=null, failSpi=null,
loadSpi=null, usage=1, fullSup=true, subjId=39d922a0-b23e-49be-b70a-f31d130a6ee6, mapFut=IgniteFuture
[orig=GridFutureAdapter [resFlag=0, res=null, startTime=1481622173293, endTime=0, ignoreInterrupts=false,
state=INIT]]], jobId=97c4a87f851-39d922a0-b23e-49be-b70a-f31d130a6ee6]]
	at org.apache.ignite.internal.processors.job.GridJobWorker.handleThrowable(GridJobWorker.java:607)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:427)
	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1089)
	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1766)
	at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1238)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:866)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:106)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:829)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.binary.BinaryObjectException: Cannot find metadata for
object with compact footer: -771298812
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.getOrCreateSchema(BinaryReaderExImpl.java:1709)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.<init>(BinaryReaderExImpl.java:278)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.<init>(BinaryReaderExImpl.java:177)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.readField(BinaryReaderExImpl.java:1683)
	at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.read(BinaryFieldAccessor.java:639)
	at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:776)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1481)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.readField(BinaryReaderExImpl.java:1683)
	at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.read(BinaryFieldAccessor.java:639)
	at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:776)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1481)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.readField(BinaryReaderExImpl.java:1683)
	at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.read(BinaryFieldAccessor.java:639)
	at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:776)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1481)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.readField(BinaryReaderExImpl.java:1683)
	at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.read(BinaryFieldAccessor.java:639)
	at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:776)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1481)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.readField(BinaryReaderExImpl.java:1683)
	at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.read(BinaryFieldAccessor.java:639)
	at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:776)
	at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1481)
	at org.apache.ignite.internal.binary.GridBinaryMarshaller.deserialize(GridBinaryMarshaller.java:298)
	at org.apache.ignite.internal.binary.BinaryMarshaller.unmarshal(BinaryMarshaller.java:109)
	at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:409)
	... 9 more


> Client can not load data after server restarts
> ----------------------------------------------
>
>                 Key: IGNITE-3618
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3618
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.6
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>             Fix For: 1.8
>
>         Attachments: ClientReconnectTest.java, src.zip
>
>
> Start {{TestServer}} and {{TestCache}}
> After client has printed "Sleep", need to restart server
> Wait topology update and client will be reconnect
> Type enter in client console and you will see in client console "No object in cache"
> Server throws exception:
> {noformat}
> Caused by: class org.apache.ignite.binary.BinaryObjectException: Cannot find metadata
for object with compact footer: -995427962
> 	at org.apache.ignite.internal.binary.BinaryReaderExImpl.getOrCreateSchema(BinaryReaderExImpl.java:1687)
> 	at org.apache.ignite.internal.binary.BinaryReaderExImpl.<init>(BinaryReaderExImpl.java:255)
> 	at org.apache.ignite.internal.binary.BinaryReaderExImpl.<init>(BinaryReaderExImpl.java:168)
> 	at org.apache.ignite.internal.binary.BinaryObjectImpl.reader(BinaryObjectImpl.java:572)
> 	at org.apache.ignite.internal.binary.BinaryObjectImpl.reader(BinaryObjectImpl.java:585)
> 	at org.apache.ignite.internal.binary.BinaryObjectImpl.hasField(BinaryObjectImpl.java:395)
> 	at org.apache.ignite.internal.processors.query.GridQueryProcessor$BinaryProperty.value(GridQueryProcessor.java:1990)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$RowDescriptor.columnValue(IgniteH2Indexing.java:2513)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2AbstractKeyValueRow.getValue(GridH2AbstractKeyValueRow.java:289)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2IndexBase.compareRows(GridH2IndexBase.java:119)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex.compare(GridH2TreeIndex.java:248)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex.compare(GridH2TreeIndex.java:49)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap$2.compareTo(GridOffHeapSnapTreeMap.java:1350)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap$2.compareTo(GridOffHeapSnapTreeMap.java:1346)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap.attemptUpdate(GridOffHeapSnapTreeMap.java:2102)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap.updateUnderRoot(GridOffHeapSnapTreeMap.java:2034)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap.update(GridOffHeapSnapTreeMap.java:1915)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap.put(GridOffHeapSnapTreeMap.java:1864)
> 	at org.apache.ignite.internal.util.offheap.unsafe.GridOffHeapSnapTreeMap.put(GridOffHeapSnapTreeMap.java:108)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex.put(GridH2TreeIndex.java:403)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.doUpdate(GridH2Table.java:405)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.update(GridH2Table.java:339)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.store(IgniteH2Indexing.java:539)
> 	at org.apache.ignite.internal.processors.query.GridQueryProcessor.store(GridQueryProcessor.java:700)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.store(GridCacheQueryManager.java:407)
> 	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.updateIndex(GridCacheMapEntry.java:4024)
> 	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerSet(GridCacheMapEntry.java:1244)
> 	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.userCommit(IgniteTxLocalAdapter.java:802)
> 	... 29 more
> {noformat}



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

Mime
View raw message