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

NPE during restarting remote nodes by ignitevisorcmd

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0.final
    • Fix Version/s: None
    • Component/s: visor
    • Labels:
      None
    • Environment:

      Ubuntu 14.04

      Description

      ---------------------------------------------
      DESCRIPTION
      ---------------------------------------------
      There is NPE during restarting remote nodes by ignitevisorcmd command "start" but nodes are restarted
      ---------------------------------------------
      STEPS FOR REPRODUCE
      ---------------------------------------------

      1. Run node on the localhost
      2. Run ignitevisorcmd on the localhost
      3. Open connection to the running node
      4. Run nodes on the another host by the command
        start -h=another_host_ip -u=username -pw=username_password -t=30000 -n=3 -g=path_to_ignite_installation_folder -c=path_to_configuration_file
        
      5. Verify nodes are started OK
      6. Run command
        start -r -h=another_host_ip -u=username -pw=username_password -t=30000 -n=2 -g=path_to_ignite_installation_folder -c=path_to_configuration_file
        

        ---------------------------------------------
        ACTUAL RESULT
        ---------------------------------------------

      7. There is NPE during restarting remote nodes but nodes are restarted. Look at the attached log file:
        (err) Failed to notify listener: o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture$2@21b81941java.lang.NullPointerException
        	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.updatePartitionSingleMap(GridDhtPartitionsExchangeFuture.java:1408)
        	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.access$600(GridDhtPartitionsExchangeFuture.java:87)
        	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture$2.apply(GridDhtPartitionsExchangeFuture.java:1253)
        	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture$2.apply(GridDhtPartitionsExchangeFuture.java:1219)
        	at org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:262)
        	at org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridFutureAdapter.java:225)
        	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onReceive(GridDhtPartitionsExchangeFuture.java:1219)
        	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.processSinglePartitionUpdate(GridCachePartitionExchangeManager.java:1056)
        	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.access$900(GridCachePartitionExchangeManager.java:105)
        	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$2.onMessage(GridCachePartitionExchangeManager.java:272)
        	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$2.onMessage(GridCachePartitionExchangeManager.java:270)
        	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:1620)
        	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:1602)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:582)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:280)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:204)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:80)
        	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:163)
        	at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1058)
        	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:836)
        	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:104)
        	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:799)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        	at java.lang.Thread.run(Thread.java:745)
        
      8. All 3 remote nodes are stopped and 2 nodes are started again
        ---------------------------------------------
        EXPECTED RESULT
        ---------------------------------------------
      9. There aren't any errors during "start" command execution
      10. Only 2 remote nodes are restarted and one of them stay running
        ---------------------------------------------
        ADDITIONAL INFO
        ---------------------------------------------
      11. Sometimes the same NPE appears during starting remote nodes but this is unstable reproducible

        Attachments

        1. ignite-fdaae430.0.log
          20 kB
          Vasilisa Sidorova

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vsidorova Vasilisa Sidorova
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: