Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8252

NullPointerException is thrown during parallel massive start of nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • zookeeper
    • None

    Description

      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:

      [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]
      

      Attachments

        Issue Links

          Activity

            People

              sergey-chugunov Sergey Chugunov
              sergey-chugunov Sergey Chugunov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: