You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vasilisa Sidorova (JIRA)" <ji...@apache.org> on 2016/04/21 17:29:25 UTC

[jira] [Updated] (IGNITE-3043) NPE during restart remote node by ignitevisorcmd

     [ https://issues.apache.org/jira/browse/IGNITE-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasilisa  Sidorova updated IGNITE-3043:
---------------------------------------
    Description: 
---------------------------------------------
DESCRIPTION
---------------------------------------------
There is NPE during restart 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 
{noformat}
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
{noformat}
# Verify nodes are started OK
# Run command 
{noformat}
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
{noformat}
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
# There is NPE during restart remote nodes but nodes are restarted. Look at the attached log file:
{noformat}
[18:05:07] (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)
[18:05:07,353][SEVERE][sys-#20%null%][GridCacheIoManager] Failed processing message [senderId=0c626df9-8e71-48dd-b9c1-f9bb1a88d3d5, msg=GridDhtPartitionsSingleMessage [parts=null, partCntrs=null, client=false, super=GridDhtPartitionsAbstractMessage [exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=3, minorTopVer=0], nodeId=0c626df9, evt=NODE_JOINED], lastVer=GridCacheVersion [topVer=0, nodeOrderDrId=0, globalTime=0, order=1461251056980], super=GridCacheMessage [msgId=1, depInfo=null, err=null, skipPrepare=false, cacheId=0, cacheId=0]]]]
java.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)
{noformat}
# 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

  was:
---------------------------------------------
DESCRIPTION
---------------------------------------------
There is NPE during restart 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 
{noformat}
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
{noformat}
# Verify nodes are started OK
# Run command 
{noformat}
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
{noformat}
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
# There is NPE during restart remote nodes but nodes are restarted. Look at the attached log file
# 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


> NPE during restart remote node by ignitevisorcmd
> ------------------------------------------------
>
>                 Key: IGNITE-3043
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3043
>             Project: Ignite
>          Issue Type: Bug
>          Components: visor
>    Affects Versions: 1.5.0.final
>         Environment: Ubuntu 14.04
>            Reporter: Vasilisa  Sidorova
>
> ---------------------------------------------
> DESCRIPTION
> ---------------------------------------------
> There is NPE during restart 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 
> {noformat}
> 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
> {noformat}
> # Verify nodes are started OK
> # Run command 
> {noformat}
> 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
> {noformat}
> ---------------------------------------------
> ACTUAL RESULT
> ---------------------------------------------
> # There is NPE during restart remote nodes but nodes are restarted. Look at the attached log file:
> {noformat}
> [18:05:07] (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)
> [18:05:07,353][SEVERE][sys-#20%null%][GridCacheIoManager] Failed processing message [senderId=0c626df9-8e71-48dd-b9c1-f9bb1a88d3d5, msg=GridDhtPartitionsSingleMessage [parts=null, partCntrs=null, client=false, super=GridDhtPartitionsAbstractMessage [exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=3, minorTopVer=0], nodeId=0c626df9, evt=NODE_JOINED], lastVer=GridCacheVersion [topVer=0, nodeOrderDrId=0, globalTime=0, order=1461251056980], super=GridCacheMessage [msgId=1, depInfo=null, err=null, skipPrepare=false, cacheId=0, cacheId=0]]]]
> java.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)
> {noformat}
> # 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



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