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

Pavel Vinokurov edited comment on IGNITE-15343 at 8/24/21, 3:16 PM:
--------------------------------------------------------------------

{code:java}
[2021/08/19 20:25:38.519]  WARN [main] [] - Local node's value of 
'java.net.preferIPv4Stack' system property differs from remote node's (all 
nodes in topology should have identical value) [locPreferIpV4=true, 
rmtPreferIpV4=null, locId8=b588bb65, rmtId8=7d483a80, 
rmtAddrs=[rhdpg02/0:0:0:0:0:0:0:1%lo, /10.211.80.16, /127.0.0.1], 
rmtNode=ClusterNode [id=7d483a80-4ada-4c10-b2e2-3b85a47b2d26, order=24, 
addr=[0:0:0:0:0:0:0:1%lo, 10.211.80.16, 127.0.0.1], daemon=false]]
{code}

Please add -Djava.net.preferIPv4Stack=true to all nodes including server and 
set IgniteConfiguration.setLocalHost(<local IP address>)


was (Author: pvinokurov):

{code:java}
[2021/08/19 20:25:38.519]  WARN [main] [] - Local node's value of 
'java.net.preferIPv4Stack' system property differs from remote node's (all 
nodes in topology should have identical value) [locPreferIpV4=true, 
rmtPreferIpV4=null, locId8=b588bb65, rmtId8=7d483a80, 
rmtAddrs=[rhdpg02/0:0:0:0:0:0:0:1%lo, /10.211.80.16, /127.0.0.1], 
rmtNode=ClusterNode [id=7d483a80-4ada-4c10-b2e2-3b85a47b2d26, order=24, 
addr=[0:0:0:0:0:0:0:1%lo, 10.211.80.16, 127.0.0.1], daemon=false]]
{code}

Please add -Djava.net.preferIPv4Stack=true to the client node and set 
IgniteConfiguration.setLocalHost(<local IP address>)

> NullPointerException occurs when restarting ignite client application
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-15343
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15343
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Franco Po
>            Priority: Critical
>         Attachments: failed_startup-ignite_info.1st.attempt.log, 
> failed_startup-ignite_info.2nd.attempt.log, 
> server1-ignite_info.1st.attempt.log, server2-ignite_info.1st.attempt.log, 
> successful_startup-ignite_info.log
>
>
> I upgraded one of my API backend applications from Apache Ignite 2.6 to 
> GridGain Community Edition 8.8.5 successfully in live environment a couple of 
> months ago. The entire setup is 2 instances of this ignite client application 
> plus a cluster of 2 ignite server instances. A planned maintenance needed to 
> restart the ignite client application. However, it couldn't be started again 
> due to a sequence of below exceptions (see 
> [^failed_startup-ignite_info.1st.attempt.log] and 
> [^failed_startup-ignite_info.2nd.attempt.log] for full log):
>  # java.io.IOException: Failed to get acknowledge for message: 
> TcpDiscoveryClientMetricsUpdateMessage [super=TcpDiscoveryAbstractMessage 
> [sndNodeId=null, id=fef7e5e5b71-b588bb65-6fe8-4aff-8f17-4a9e8733369b, 
> verifierNodeId=null, topVer=0, pendingIdx=0, failedNodes=null, isClient=true]]
>  # java.net.SocketException: Socket is closed
>  # java.lang.NullPointerException: null
>  # org.apache.ignite.IgniteCheckedException: Node stopped
> I could restart same ignite client applications running in hot standby 
> environment where the ignite server contains no active data (see 
> [^successful_startup-ignite_info.log]).
> Is this problem related to GG-17439 and IGNITE-11406? Which is equivalent 
> version of ignite 2.10 in GainGrid edition?
> If anyone can provide insight as to how I can resolve this, that would be 
> greatly appreciated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to