ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kvipin <vipinkuma...@yahoo.com>
Subject Re: Couchbase as persistent store
Date Sat, 10 Sep 2016 10:08:46 GMT
Thanks val, I've fixed it. Now I'm getting following *exception while running
my test program:
*
[06:00:01] Security status [authentication=off, tls/ssl=off]
[06:00:03] Performance suggestions for grid  (fix if possible)
[06:00:03] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[06:00:03]   ^-- Disable peer class loading (set 'peerClassLoadingEnabled'
to false)
[06:00:03]   ^-- Enable ATOMIC mode if not using transactions (set
'atomicityMode' to ATOMIC)
[06:00:03]   ^-- Disable fully synchronous writes (set
'writeSynchronizationMode' to PRIMARY_SYNC or FULL_ASYNC)
[06:00:03]
[06:00:03] To start Console Management & Monitoring run
ignitevisorcmd.{sh|bat}
[06:00:03]
[06:00:03] Ignite node started OK (id=587c3c96)
[06:00:03] Topology snapshot [ver=1, servers=1, clients=0, CPUs=32,
heap=0.5GB]
[06:00:13] New version is available at ignite.apache.org: 1.7.0
[06:00:15,057][SEVERE][tcp-disco-msg-worker-#2%null%][TcpDiscoverySpi]
Failed to marshal discovery data [comp=1, data=DynamicCacheChangeBatch
[reqs=[DynamicCacheChangeRequest
[deploymentId=fe50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@12299890,
cacheMode=REPLICATED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=2147483647, invalidate=false,
tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-2,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=false, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.GridCacheDefaultAffinityKeyMapper@5c18016b,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=UTILITY,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=ignite-sys-cache], DynamicCacheChangeRequest
[deploymentId=0f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-atomics-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@1522d8a0,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-1,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=false, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.GridCacheDefaultAffinityKeyMapper@5644dc81,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null],
cacheType=INTERNAL, initiatingNodeId=null, nearCacheCfg=null,
clientStartOnly=false, stop=false, close=false, failIfExists=false,
template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30,
exchangeNeeded=false, cacheFutTopVer=null,
cacheName=ignite-atomics-sys-cache], DynamicCacheChangeRequest
[deploymentId=2f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=TestTable1,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@2a3888c1,
storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@774698ab,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=ASYNC, rebalanceOrder=0,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=true, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.CacheDefaultBinaryAffinityKeyMapper@a4ca3f6,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=USER,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=TestTable1], DynamicCacheChangeRequest
[deploymentId=ee50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-marshaller-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=300, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@51a9ad5e,
cacheMode=REPLICATED, atomicityMode=ATOMIC, atomicWriteOrderMode=CLOCK,
backups=2147483647, invalidate=false, tmLookupClsName=null,
rebalanceMode=SYNC, rebalanceOrder=-2, rebalanceBatchSize=524288,
rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false,
maxConcurrentAsyncOps=500, writeBehindEnabled=false,
writeBehindFlushSize=10240, writeBehindFlushFreq=5000,
writeBehindFlushThreadCnt=1, writeBehindBatchSize=512,
memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.GridCacheDefaultAffinityKeyMapper@476b0ae6,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null],
cacheType=MARSHALLER, initiatingNodeId=null, nearCacheCfg=null,
clientStartOnly=false, stop=false, close=false, failIfExists=false,
template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30,
exchangeNeeded=false, cacheFutTopVer=null,
cacheName=ignite-marshaller-sys-cache], DynamicCacheChangeRequest
[deploymentId=1f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=TestTable,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@51c693d,
storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@18025ced,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=ASYNC, rebalanceOrder=0,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=true, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.CacheDefaultBinaryAffinityKeyMapper@3a3e4aff,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=USER,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=TestTable]],
clientNodes={TestTable1={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
ignite-marshaller-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
TestTable={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
ignite-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
ignite-atomics-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false}},
id=3160a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, clientReconnect=false]]
class org.apache.ignite.IgniteCheckedException: Failed to serialize object:
DynamicCacheChangeBatch [reqs=[DynamicCacheChangeRequest
[deploymentId=fe50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@12299890,
cacheMode=REPLICATED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=2147483647, invalidate=false,
tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-2,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=false, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=org.apache.ignite.internal.processors.cache.GridCacheDefaultAffinityKeyMapper@5c18016b,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=UTILITY,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=ignite-sys-cache], DynamicCacheChangeRequest
[deploymentId=0f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-atomics-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@1522d8a0,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-1,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=false, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=org.apache.ignite.internal.processors.cache.GridCacheDefaultAffinityKeyMapper@5644dc81,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null],
cacheType=INTERNAL, initiatingNodeId=null, nearCacheCfg=null,
clientStartOnly=false, stop=false, close=false, failIfExists=false,
template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30,
exchangeNeeded=false, cacheFutTopVer=null,
cacheName=ignite-atomics-sys-cache], DynamicCacheChangeRequest
[deploymentId=2f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=TestTable1,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@2a3888c1,
storeKeepBinary=false, loadPrevVal=false,
aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@774698ab,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=ASYNC, rebalanceOrder=0,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=true, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=org.apache.ignite.internal.processors.cache.CacheDefaultBinaryAffinityKeyMapper@a4ca3f6,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=USER,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=TestTable1], DynamicCacheChangeRequest
[deploymentId=ee50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-marshaller-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=300, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@51a9ad5e,
cacheMode=REPLICATED, atomicityMode=ATOMIC, atomicWriteOrderMode=CLOCK,
backups=2147483647, invalidate=false, tmLookupClsName=null,
rebalanceMode=SYNC, rebalanceOrder=-2, rebalanceBatchSize=524288,
rebalanceBatchesPrefetchCount=2, offHeapMaxMem=-1, swapEnabled=false,
maxConcurrentAsyncOps=500, writeBehindEnabled=false,
writeBehindFlushSize=10240, writeBehindFlushFreq=5000,
writeBehindFlushThreadCnt=1, writeBehindBatchSize=512,
memMode=ONHEAP_TIERED,
affMapper=org.apache.ignite.internal.processors.cache.GridCacheDefaultAffinityKeyMapper@476b0ae6,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null],
cacheType=MARSHALLER, initiatingNodeId=null, nearCacheCfg=null,
clientStartOnly=false, stop=false, close=false, failIfExists=false,
template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30,
exchangeNeeded=false, cacheFutTopVer=null,
cacheName=ignite-marshaller-sys-cache], DynamicCacheChangeRequest
[deploymentId=1f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=TestTable,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=10000, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=10000,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=1500000, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@51c693d,
storeKeepBinary=false, loadPrevVal=false,
aff=org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction@18025ced,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=ASYNC, rebalanceOrder=0,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=true, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=org.apache.ignite.internal.processors.cache.CacheDefaultBinaryAffinityKeyMapper@3a3e4aff,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=org.apache.ignite.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=USER,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=TestTable]],
clientNodes={TestTable1={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
ignite-marshaller-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
TestTable={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
ignite-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false},
ignite-atomics-sys-cache={587c3c96-0254-44bf-94d7-7abfaee0ba30=false,
d352bef5-875e-4f3c-bfb4-91786f286258=false}},
id=3160a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e, clientReconnect=false]
        at
org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal(JdkMarshaller.java:82)
        at
org.apache.ignite.marshaller.AbstractMarshaller.marshal(AbstractMarshaller.java:62)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.collectExchangeData(TcpDiscoverySpi.java:1683)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddedMessage(ServerImpl.java:3779)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processJoinRequestMessage(ServerImpl.java:3427)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2293)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2121)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerAdapter.body(ServerImpl.java:6007)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2208)
        at
org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
Caused by: java.io.NotSerializableException:
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter$ThreadLocalSession
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
        at java.util.ArrayList.writeObject(ArrayList.java:762)
        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:498)
        at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)
        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
        at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
        at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
        at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
        at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
        at
org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal(JdkMarshaller.java:77)
        ... 9 more
[06:00:15] Topology snapshot [ver=2, servers=1, clients=1, CPUs=32,
heap=1.0GB]
[06:00:20,580][SEVERE][sys-#66%null%][GridDhtTxLocal] Failed to prepare
transaction: GridDhtTxLocal
[nearNodeId=d352bef5-875e-4f3c-bfb4-91786f286258,
nearFutId=d573a831751-f33b8075-e18d-4c70-ae8e-3811e9fae8e1,
nearMiniId=e573a831751-f33b8075-e18d-4c70-ae8e-3811e9fae8e1,
nearFinFutId=null, nearFinMiniId=null, nearXidVer=GridCacheVersion
[topVer=84981604, time=1473501620566, order=1473501614120, nodeOrder=2],
super=GridDhtTxLocalAdapter [nearOnOriginatingNode=false, nearNodes=[],
dhtNodes=[], explicitLock=false, super=IgniteTxLocalAdapter
[completedBase=null, sndTransformedVals=false, depEnabled=false,
txState=IgniteTxImplicitSingleStateImpl [init=true], super=IgniteTxAdapter
[xidVer=GridCacheVersion [topVer=84981604, time=1473501620571,
order=1473501614121, nodeOrder=1], writeVer=GridCacheVersion
[topVer=84981604, time=1473501620572, order=1473501614123, nodeOrder=1],
implicit=true, loc=true, threadId=1, startTime=1473501620566,
nodeId=587c3c96-0254-44bf-94d7-7abfaee0ba30, startVer=GridCacheVersion
[topVer=84981604, time=1473501620571, order=1473501614121, nodeOrder=1],
endVer=null, isolation=READ_COMMITTED, concurrency=OPTIMISTIC, timeout=0,
sysInvalidate=false, sys=false, plc=2, commitVer=null,
finalizing=USER_FINISH, preparing=false, invalidParts=null,
state=MARKED_ROLLBACK, timedOut=false, topVer=AffinityTopologyVersion
[topVer=2, minorTopVer=0], duration=10ms, onePhaseCommit=true], size=1]]]
class org.apache.ignite.IgniteCheckedException: Failed to commit transaction
to database: GridDhtTxLocal
[nearNodeId=d352bef5-875e-4f3c-bfb4-91786f286258,
nearFutId=d573a831751-f33b8075-e18d-4c70-ae8e-3811e9fae8e1,
nearMiniId=e573a831751-f33b8075-e18d-4c70-ae8e-3811e9fae8e1,
nearFinFutId=null, nearFinMiniId=null, nearXidVer=GridCacheVersion
[topVer=84981604, time=1473501620566, order=1473501614120, nodeOrder=2],
super=GridDhtTxLocalAdapter [nearOnOriginatingNode=false, nearNodes=[],
dhtNodes=[], explicitLock=false, super=IgniteTxLocalAdapter
[completedBase=null, sndTransformedVals=false, depEnabled=false,
txState=IgniteTxImplicitSingleStateImpl [init=true], super=IgniteTxAdapter
[xidVer=GridCacheVersion [topVer=84981604, time=1473501620571,
order=1473501614121, nodeOrder=1], writeVer=GridCacheVersion
[topVer=84981604, time=1473501620572, order=1473501614123, nodeOrder=1],
implicit=true, loc=true, threadId=1, startTime=1473501620566,
nodeId=587c3c96-0254-44bf-94d7-7abfaee0ba30, startVer=GridCacheVersion
[topVer=84981604, time=1473501620571, order=1473501614121, nodeOrder=1],
endVer=null, isolation=READ_COMMITTED, concurrency=OPTIMISTIC, timeout=0,
sysInvalidate=false, sys=false, plc=2, commitVer=null,
finalizing=USER_FINISH, preparing=false, invalidParts=null,
state=MARKED_ROLLBACK, timedOut=false, topVer=AffinityTopologyVersion
[topVer=2, minorTopVer=0], duration=10ms, onePhaseCommit=true], size=1]]]
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxAdapter.batchStoreCommit(IgniteTxAdapter.java:1452)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.userCommit(IgniteTxLocalAdapter.java:654)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocalAdapter.finish(GridDhtTxLocalAdapter.java:776)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocal.finish(GridDhtTxLocal.java:657)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocal.finishCommit(GridDhtTxLocal.java:504)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocal.commitAsync(GridDhtTxLocal.java:566)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareFuture.onDone(GridDhtTxPrepareFuture.java:666)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareFuture.onDone(GridDhtTxPrepareFuture.java:96)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:324)
        at
org.apache.ignite.internal.util.future.GridCompoundFuture.checkComplete(GridCompoundFuture.java:241)
        at
org.apache.ignite.internal.util.future.GridCompoundFuture.markInitialized(GridCompoundFuture.java:232)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareFuture.prepare0(GridDhtTxPrepareFuture.java:1266)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareFuture.mapIfLocked(GridDhtTxPrepareFuture.java:600)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxPrepareFuture.prepare(GridDhtTxPrepareFuture.java:934)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxLocal.prepareAsync(GridDhtTxLocal.java:464)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.prepareNearTx(IgniteTxHandler.java:411)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.prepareTx(IgniteTxHandler.java:204)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.processNearTxPrepareRequest(IgniteTxHandler.java:105)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler$1.apply(IgniteTxHandler.java:118)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler$1.apply(IgniteTxHandler.java:116)
        at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:622)
        at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:320)
        at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:244)
        at
org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:81)
        at
org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:203)
        at
org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1219)
        at
org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:847)
        at
org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:105)
        at
org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:810)
        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: Failed
resolve class for ID: -1161297284
        at
org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:615)
        at
org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1474)
        at
org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:572)
        at
org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:131)
        at
org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinary(CacheObjectContext.java:257)
        at
org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinaryIfNeeded(CacheObjectContext.java:148)
        at
org.apache.ignite.internal.processors.cache.CacheObjectContext.unwrapBinaryIfNeeded(CacheObjectContext.java:135)
        at
org.apache.ignite.internal.processors.cache.GridCacheContext.unwrapBinaryIfNeeded(GridCacheContext.java:1732)
        at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.put(GridCacheStoreManagerAdapter.java:565)
        at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.putAll(GridCacheStoreManagerAdapter.java:610)
        at
org.apache.ignite.internal.processors.cache.transactions.IgniteTxAdapter.batchStoreCommit(IgniteTxAdapter.java:1416)
        ... 31 more
Caused by: class org.apache.ignite.IgniteCheckedException: Class definition
was not found at marshaller cache and local file. [id=-1161297284,
file=/home/ignite1/project/apacheIgnite/apache-ignite-fabric-1.6.0-bin/work/marshaller/-1161297284.classname]
        at
org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:176)
        at
org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:174)
        at
org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:599)
        ... 41 more

*And here is my config file for server node:*

$ cat config/test-tool-server.xml
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/util
        http://www.springframework.org/schema/util/spring-util.xsd">

    <bean id="grid.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
        
        <property name="peerClassLoadingEnabled" value="true"/>

<property name="binaryConfiguration">
<bean class="org.apache.ignite.configuration.BinaryConfiguration">
<property name="compactFooter" value="false" />
<property name="idMapper">
<bean class="org.apache.ignite.binary.BinaryBasicIdMapper">
<constructor-arg name="isLowerCase" value="true" />
</bean>
</property>
<property name="nameMapper">
<bean class="org.apache.ignite.binary.BinaryBasicNameMapper">
<constructor-arg name="isSimpleName" value="true" />
</bean>
</property>
</bean>
</property>

        <property name="cacheConfiguration">
            <list>
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                
                <property name="readThrough" value="true"></property>
                <property name="writeThrough" value="true"></property>
                <property name="writeBehindEnabled" value="true"></property>
                
                    <property name="cacheStoreFactory">
                      <bean
class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
                        <constructor-arg>
                          <bean class="TestTableStore">
                          </bean>
                        </constructor-arg>
                      </bean>
                    </property>

                    <property name="name" value="TestTable"/>
                    <property name="cacheMode" value="PARTITIONED"/>
                    <property name="atomicityMode" value="TRANSACTIONAL"/>
                    <property name="writeSynchronizationMode"
value="FULL_SYNC"/>

                    
                    <property name="queryEntities">
                        <list>
                            <bean
class="org.apache.ignite.cache.QueryEntity">
                                <property name="keyType"
value="java.lang.Long"/>
                                <property name="valueType"
value="TestTable"/>

                                <property name="fields">
                                    <map>
                                        <entry key="tid"
value="java.lang.Short"/>
                                        <entry key="idint"
value="java.lang.Int"/>
                                        <entry key="idbigint"
value="java.lang.Long"/>
                                        <entry key="idchar"
value="java.lang.String"/>
                                        <entry key="idbinary"
value="java.lang.byte[]"/>
                                        <entry key="idvarbinary"
value="java.lang.byte[]"/>
                                        <entry key="idvarchar"
value="java.lang.String"/>
                                        <entry key="idts"
value="java.lang.Timestamp"/>
                                    </map>
                                </property>
                                <property name="indexes">
                                    <list>
                                        <bean
class="org.apache.ignite.cache.QueryIndex">
                                            <constructor-arg value="tid"/>
                                            <constructor-arg
value="SORTED"/>
                                        </bean>
                                        
                                        <bean
class="org.apache.ignite.cache.QueryIndex">
                                            <constructor-arg>
                                                <list>
                                                    <value>tid</value>
                                                    <value>idint</value>
                                                </list>
                                            </constructor-arg>
                                            <constructor-arg
value="SORTED"/>
                                        </bean>
                                    </list>
                                </property>
                            </bean>
                        </list>
                    </property>
                </bean>

                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                <property name="readThrough" value="true"></property>
                <property name="writeThrough" value="true"></property>
                <property name="writeBehindEnabled" value="true"></property>
                    <property name="cacheStoreFactory">
                      <bean
class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
                        <constructor-arg>
                          <bean class="TestTableStore">
                          </bean>
                        </constructor-arg>
                      </bean>
                    </property>

                    <property name="name" value="TestTable1"/>
                    <property name="cacheMode" value="PARTITIONED"/>
                    <property name="atomicityMode" value="TRANSACTIONAL"/>
                    <property name="writeSynchronizationMode"
value="FULL_SYNC"/>

                    
                    <property name="queryEntities">
                        <list>
                            <bean
class="org.apache.ignite.cache.QueryEntity">
                                <property name="keyType"
value="java.lang.Long"/>
                                <property name="valueType"
value="TestTable"/>

                                <property name="fields">
                                    <map>
                                        <entry key="tid"
value="java.lang.Short"/>
                                        <entry key="idint"
value="java.lang.Int"/>
                                        <entry key="idbigint"
value="java.lang.Long"/>
                                        <entry key="idchar"
value="java.lang.String"/>
                                        <entry key="idbinary"
value="java.lang.byte[]"/>
                                        <entry key="idvarbinary"
value="java.lang.byte[]"/>
                                        <entry key="idvarchar"
value="java.lang.String"/>
                                        <entry key="idts"
value="java.lang.Timestamp"/>
                                    </map>
                                </property>
                                <property name="indexes">
                                    <list>
                                        <bean
class="org.apache.ignite.cache.QueryIndex">
                                            <constructor-arg value="tid"/>
                                            <constructor-arg
value="SORTED"/>
                                        </bean>
                                        
                                        <bean
class="org.apache.ignite.cache.QueryIndex">
                                            <constructor-arg>
                                                <list>
                                                    <value>tid</value>
                                                    <value>idint</value>
                                                </list>
                                            </constructor-arg>
                                            <constructor-arg
value="SORTED"/>
                                        </bean>
                                    </list>
                                </property>
                            </bean>
                        </list>
                    </property>
                </bean>
            </list>
        </property>

        
        <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                    
                    
                    
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
                        <property name="addresses">
                            <list>
                                
                                <value>127.0.0.1:47550..47551</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>
    </bean>
</beans>

I'm unable to figure out whats going wrong here.

Both classes TestTable and TestTableStore implements serializable interface.

thanks & regards,



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p7652.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Mime
View raw message