[
https://issues.apache.org/jira/browse/IGNITE-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16447918#comment-16447918
]
ASF GitHub Bot commented on IGNITE-8355:
----------------------------------------
GitHub user tledkov-gridgain opened a pull request:
https://github.com/apache/ignite/pull/3899
IGNITE-8355: Hotfix NPE on start node (discovery start race)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-8355
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3899.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3899
----
commit 7bc10167bffffcd6f81fb3d3d5b0ad3d6032a19e
Author: tledkov-gridgain <tledkov@...>
Date: 2018-04-23T10:27:33Z
IGNITE-8355: Hotfix NPE on start node (discovery start race). Gathers info
about local node is coordinator from ServerImpl
----
> NPE on start node with enabled authentication
> ---------------------------------------------
>
> Key: IGNITE-8355
> URL: https://issues.apache.org/jira/browse/IGNITE-8355
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Taras Ledkov
> Assignee: Taras Ledkov
> Priority: Critical
> Fix For: 2.5
>
>
> NPE on start node with enabled authentication due to race at the discovery
> start.
> {code}
> [2018-04-23
> 13:03:12,337][ERROR][tcp-disco-msg-worker-#35%authentication.AuthenticationProcessorNPETest0%][TcpDiscoverySpi]
> TcpDiscoverSpi's message worker thread failed abnormally. Stopping the node
> in order to prevent cluster wide instability.
> java.lang.NullPointerException
> at
> org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.aliveServerNodes(GridDiscoveryManager.java:1811)
> at
> org.apache.ignite.internal.processors.authentication.IgniteAuthenticationProcessor.coordinator(IgniteAuthenticationProcessor.java:678)
> at
> org.apache.ignite.internal.processors.authentication.IgniteAuthenticationProcessor.collectGridNodeData(IgniteAuthenticationProcessor.java:454)
> at
> org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$5.collect(GridDiscoveryManager.java:865)
> at
> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.collectExchangeData(TcpDiscoverySpi.java:1909)
> at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddedMessage(ServerImpl.java:4222)
> at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2744)
> at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2536)
> at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerAdapter.body(ServerImpl.java:6775)
> at
> org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2621)
> at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)