You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
No UnknownHostException is thrown when invalid host is used. [JIRA: CLIENTS-401] #518
I was wondering if we could fix this behaviour or if there is any reason for that, like in a situation of many nodes and just one is not possible to resolve.
Version details:
$ java -version
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
changed the title [-]No UnknownHostException is thrown when invalid host is used.[/-][+]No UnknownHostException is thrown when invalid host is used. [JIRA: CLIENTS-401][/+]on May 10, 2015
Given an invalid host I was excepting an exception has the documentation states.
After a bit of debugging, it seems the excepted exception it's being swallowed
and we should rely on isUnresolved method.
Testing code:
Riak client handling
InetSocketAddress handling
I was wondering if we could fix this behaviour or if there is any reason for that, like in a situation of many nodes and just one is not possible to resolve.
Version details: