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

Ignite TC Bot commented on IGNITE-11837:
----------------------------------------

{panel:title=--> Run :: Basic Tests: Possible 
Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=3846699]]
* IgniteBasicTestSuite: BPlusTreeReuseSelfTest.testMassiveRemove2_true - 0,0% 
fails in last 182 master runs.

{panel}
[TeamCity *--> Run :: Basic Tests* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=3846707&buildTypeId=IgniteTests24Java8_RunBasicTests]

> Thin client fails to connect to the cluster if one node is down
> ---------------------------------------------------------------
>
>                 Key: IGNITE-11837
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11837
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.7
>            Reporter: Nikola Arnaudov
>            Assignee: Pavel Kuznetsov
>            Priority: Major
>              Labels: javadoc
>
> According to java doc: 
> in org.apache.ignite.Ignition
> {code:java}
> /**
>  * Initializes new instance of \{@link IgniteClient}.
>  * <p>
>  * Server connection will be lazily initialized when first required.
>  *
>  * @param cfg Thin client configuration.
>  * @return Successfully opened thin client connection.
>  */
>  public static IgniteClient startClient(ClientConfiguration cfg)
>  {code} 
> but that seems wrong as I get exception:
> {code}
> Exception in thread "main" 
> org.apache.ignite.client.ClientConnectionException: Ignite cluster is 
> unavailable
>  at 
> org.apache.ignite.internal.client.thin.TcpClientChannel.<init>(TcpClientChannel.java:114)
>  at 
> org.apache.ignite.internal.client.thin.TcpIgniteClient.lambda$new$0(TcpIgniteClient.java:79)
>  at 
> org.apache.ignite.internal.client.thin.ReliableChannel.<init>(ReliableChannel.java:84)
>  at 
> org.apache.ignite.internal.client.thin.TcpIgniteClient.<init>(TcpIgniteClient.java:86)
>  at 
> org.apache.ignite.internal.client.thin.TcpIgniteClient.start(TcpIgniteClient.java:205)
>  Caused by: java.net.ConnectException: Connection refused: connect
>  at java.net.DualStackPlainSocketImpl.connect0(Native Method)
>  at 
> java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
>  at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
>  at 
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
>  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>  at java.net.Socket.connect(Socket.java:589)
>  at java.net.Socket.connect(Socket.java:538)
>  at java.net.Socket.<init>(Socket.java:434)
>  at java.net.Socket.<init>(Socket.java:211)
>  at 
> org.apache.ignite.internal.client.thin.TcpClientChannel.createSocket(TcpClientChannel.java:216)
>  at 
> org.apache.ignite.internal.client.thin.TcpClientChannel.<init>(TcpClientChannel.java:108)at
>  org.apache.ignite.Ignition.startClient(Ignition.java:586)
> {code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to