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

ASF GitHub Bot commented on IGNITE-8252:
----------------------------------------

GitHub user sergey-chugunov-1985 opened a pull request:

    https://github.com/apache/ignite/pull/3908

    IGNITE-8252 NPE is replaced with an IgniteException with informative message

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-8252-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3908.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3908
    
----
commit 3267f4b1ff2b985b1efe4f091cfd762a9745fbef
Author: Sergey Chugunov <sergey.chugunov@...>
Date:   2018-04-24T11:23:36Z

    IGNITE-8252 NPE is replaced with IgniteException with meaningful message

----


> NullPointerException is thrown during parallel massive start of nodes
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-8252
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8252
>             Project: Ignite
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Sergey Chugunov
>            Assignee: Sergey Chugunov
>            Priority: Major
>             Fix For: 2.6
>
>
> When many nodes are started in parallel and IGNITE_DISCOVERY_HISTORY_SIZE is 
> set to too small value (smaller than size of batch of nodes joining the 
> cluster simultaneously) NPE is thrown from the exchange thread:
> {noformat}
> [ERROR][exchange-worker-#62][GridDhtPartitionsExchangeFuture] Failed to 
> reinitialize local partitions (preloading will be stopped): 
> GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=5, 
> minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=ZookeeperClusterNode 
> [id=2f412f7f-d326-4303-86f9-91004c82aa7b, addrs=[172.25.1.18], order=5, 
> loc=true, client=false], topVer=5, nodeId8=2f412f7f, msg=null, 
> type=NODE_JOINED, tstamp=1523571878505], nodeId=2f412f7f, evt=NODE_JOINED]
> java.lang.NullPointerException: null
>       at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.latch.ExchangeLatchManager.getLatchCoordinator(ExchangeLatchManager.java:249)
>  ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.latch.ExchangeLatchManager.getOrCreate(ExchangeLatchManager.java:207)
>  ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.waitPartitionRelease(GridDhtPartitionsExchangeFuture.java:1227)
>  ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1112)
>  ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:713)
>  [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2414)
>  [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2294)
>  [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) 
> [ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to