ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Tikhonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-721) Ignite.destroyCache hang when set FairAffinity Function
Date Fri, 10 Apr 2015 19:35:13 GMT

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

Nikolay Tikhonov commented on IGNITE-721:
-----------------------------------------

Got the following exception for put/get operation:
{noformat}Apr 10, 2015 7:25:53 PM org.apache.ignite.logger.java.JavaLogger error
        SEVERE: Failed processing message [senderId=e482c84b-2153-4e3d-83e1-2b4c8d930732,
msg=GridNearGetRequest [futId=af4abc4ac41-79b9aab2-dc24-4d20-ad2e-b3bea46d7a36, miniId=a05abc4ac41-79b9aab2-dc24-4d20-ad2e
        -b3bea46d7a36, ver=GridCacheVersion [topVer=40173701, nodeOrderDrId=10, globalTime=2857387906105,
order=1428694231621], keyMap=null, reload=false, readThrough=true, skipVals=false, topVer=AffinityTopology
        Version [topVer=10, minorTopVer=0], subjId=e482c84b-2153-4e3d-83e1-2b4c8d930732, taskNameHash=0,
accessTtl=-1]]
        java.lang.NullPointerException
        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtGetFuture.map(GridDhtGetFuture.java:198)
        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtGetFuture.init(GridDhtGetFuture.java:157)
        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.getDhtAsync(GridDhtCacheAdapter.java:617)
        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.processNearGetRequest(GridDhtCacheAdapter.java:633)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$500(GridDhtAtomicCache.java:66)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$4.apply(GridDhtAtomicCache.java:186)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$4.apply(GridDhtAtomicCache.java:184)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:322)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:235)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:156)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:45)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:124)
        at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:664)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:916)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:990)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:383)
        at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedGetFuture.map(GridPartitionedGetFuture.java:380)
        at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedGetFuture.init(GridPartitionedGetFuture.java:165)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAllAsync0(GridDhtAtomicCache.java:1005)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$1400(GridDhtAtomicCache.java:66)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$11.apply(GridDhtAtomicCache.java:291)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$11.apply(GridDhtAtomicCache.java:289)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.asyncOp(GridDhtAtomicCache.java:620)
        at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAllAsync(GridDhtAtomicCache.java:289)
        at org.apache.ignite.internal.processors.cache.GridCacheAdapter.getAllAsync(GridCacheAdapter.java:4698)
        at org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4601)
        at org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1564)
        at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.get(IgniteCacheProxy.java:628)
        at org.apache.ignite.yardstick.cache.IgnitePutGetBenchmark.test(IgnitePutGetBenchmark.java:32)
        at org.yardstickframework.impl.BenchmarkRunner$2.run(BenchmarkRunner.java:165)
        at java.lang.Thread.run(Thread.java:745){noformat}

> Ignite.destroyCache hang when set FairAffinity Function
> -------------------------------------------------------
>
>                 Key: IGNITE-721
>                 URL: https://issues.apache.org/jira/browse/IGNITE-721
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-3
>            Reporter: Nikolay Tikhonov
>            Assignee: Alexey Goncharuk
>             Fix For: sprint-3
>
>
> Hang on Ignite.destoryCache method when affiniy function is  FairAffinityFunction. See
IgniteFairAffinityDynamicCacheSelfTest.
> {noformat}SEVERE: Failed to wait for completion of partition map exchange (preloading
will not start): GridDhtPartitionsExchangeFuture [dummy=false, forcePreload=false, reassign=false,
discoEvt=DiscoveryCustomEvent [affTopVer=AffinityTopologyVersion [topVer=8, minorTopVer=1],
super=DiscoveryEvent [evtNode=TcpDiscoveryNode [id=2fedd3ec-4745-4a2f-b4db-1a0e6f3a7a22, addrs=[172.17.42.1,
172.30.1.121, 127.0.0.1], sockAddrs=[/172.17.42.1:47500, /172.30.1.121:47500, /127.0.0.1:47500],
discPort=47500, order=8, intOrder=8, loc=true, ver=1.0.0#20150329-sha1:5fc2cd05, isClient=false],
topVer=8, nodeId8=2fedd3ec, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1428660429735]], rcvdIds=GridConcurrentHashSet
[elements=[]], rmtIds=[180247e9-aae5-469d-813f-74f2a78dcc92, ff21a66f-47dd-44ec-9998-d9a3178fac3b,
65fe59cb-b2e8-47fd-bfbe-769f070d2e14, e4ae91ca-4c1b-42c1-a639-d05b2e03c24b, 13524329-2eac-4668-9ed8-936dfad542db,
05c6809f-891e-4633-a2ed-409496fa1e09, e2d7cef3-f95d-4c6f-8936-4cec81272555], exchId=GridDhtPartitionExchangeId
[topVer=AffinityTopologyVersion [topVer=8, minorTopVer=1], nodeId=2fedd3ec, evt=DISCOVERY_CUSTOM_EVT],
init=true, ready=false, replied=false, added=true, initFut=GridFutureAdapter [resFlag=2, res=false,
startTime=1428660429745, endTime=1428660429745, lsnr=null, state=DONE], topSnapshot=null,
lastVer=null, partReleaseFut=null, oldest=e4ae91ca-4c1b-42c1-a639-d05b2e03c24b, oldestOrder=1,
evtLatch=0, remaining=[180247e9-aae5-469d-813f-74f2a78dcc92, ff21a66f-47dd-44ec-9998-d9a3178fac3b,
65fe59cb-b2e8-47fd-bfbe-769f070d2e14, e4ae91ca-4c1b-42c1-a639-d05b2e03c24b, 13524329-2eac-4668-9ed8-936dfad542db,
05c6809f-891e-4633-a2ed-409496fa1e09, e2d7cef3-f95d-4c6f-8936-4cec81272555], super=GridFutureAdapter
[resFlag=1, res=java.lang.NullPointerException, startTime=1428660429745, endTime=1428660429745,
lsnr=null, state=DONE]]class org.apache.ignite.IgniteCheckedException: null
>         at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:6677)
>         at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:110)
>         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:899)
>         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:107)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
>         at org.apache.ignite.internal.processors.affinity.GridAffinityAssignment.initPrimaryBackupMaps(GridAffinityAssignment.java:129)
>         at org.apache.ignite.internal.processors.affinity.GridAffinityAssignment.<init>(GridAffinityAssignment.java:67)
>         at org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.initialize(GridAffinityAssignmentCache.java:113)
>         at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.initializeAffinity(GridCacheAffinityManager.java:124)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.initTopology(GridDhtPartitionsExchangeFuture.java:338)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:554)
>         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:897)
>         ... 2 more{noformat}



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

Mime
View raw message