Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5.0.final
-
None
-
None
-
Ubuntu 14.04
Description
---------------------------------------------
DESCRIPTION
---------------------------------------------
There is NPE during restarting remote nodes by ignitevisorcmd command "start" but nodes are restarted
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
- Run node on the localhost
- Run ignitevisorcmd on the localhost
- Open connection to the running node
- 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
- Verify nodes are started OK
- 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
--------------------------------------------- - 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)
- All 3 remote nodes are stopped and 2 nodes are started again
---------------------------------------------
EXPECTED RESULT
--------------------------------------------- - There aren't any errors during "start" command execution
- Only 2 remote nodes are restarted and one of them stay running
---------------------------------------------
ADDITIONAL INFO
--------------------------------------------- - Sometimes the same NPE appears during starting remote nodes but this is unstable reproducible