Class NodeUnreachableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.ignite.IgniteException
-
- org.apache.ignite.spi.IgniteSpiException
-
- org.apache.ignite.spi.communication.tcp.internal.NodeUnreachableException
-
- All Implemented Interfaces:
Serializable
public class NodeUnreachableException extends IgniteSpiException
Exception is thrown byTcpCommunicationSpiwhen some or all addresses of a node are unreachable and direct communication connection cannot be established.Ability to open direct connections between any nodes in cluster in any direction is necessary for proper functioning of the cluster.
However if some nodes deployed without open public IPs (e.g. client deployed in a Kubernetes environment) this invariant is broken: these nodes still can open connections to other nodes but no other nodes are able to connect to such nodes.
To enable connections to such "hidden" nodes inverse connection protocol is used: when a node detects that it cannot reach this "hidden" node it throws this exception and triggers the protocol.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeUnreachableException(String msg)
-
Method Summary
-
Methods inherited from class org.apache.ignite.IgniteException
getCause, hasCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
NodeUnreachableException
public NodeUnreachableException(String msg)
-
-